How to add another style property to this onClick?
- by Kyle Sevenoaks
Hi, I made this onlick property for my checkbox, my js-fu is like, not there, how can I simply add a border color property as well as bg color?
<div id="akseptwrap">
<span style="left:-20px; position:relative; top:3px;"><img src="http://euroworker.no/public/upload/1_2_arrow.gif"></span>
<span id="salgsaksept">
<input tabindex=12 value="1" type="checkbox" name="salgsvilkar" ID="Checkbox2" onclick="document.getElementById('salgsaksept').style.backgroundColor='#E5F7C7';" /> Salgs- og leveringsvilkår er lest og akseptert
</span>
</div>
Thanks.