Pete Pete - 4 months ago 15
CSS Question

AutoCheck CheckBox

Is there anyone who know how to AutoCheck, CheckBox in the code below either via css or Java - with the option to uncheck by clicking

<span id="ctl00_bc_custom_element_43" class="checkbox">
<input id="#ctl00_bc_custom_element_43_0" type="checkbox" name="ctl00$bc$custom_element_43$0">
<label for="ctl00_bc_custom_element_43_0">Yes, sign me up!</label>
</span>

Answer
document.getElementById("ctl00_bc_custom_element_43").checked = true