fatcodeguy
Programmer
Hi. I have a some checkboxes that I want to be checked when a button is pressed. I think I can do it like this
document.myform.checkbox1.value="on"
But I'd rather be able to do it using IDs. I tried something like
document.getElementByID("checkbox1_id"
.value="on"
but that doesn't work. Can anyone help me ?? Thanks
document.myform.checkbox1.value="on"
But I'd rather be able to do it using IDs. I tried something like
document.getElementByID("checkbox1_id"
but that doesn't work. Can anyone help me ?? Thanks