I am frustrated with the most idiotic browser of all time, for which, Bill Gates must be hanged I think.
I just want to check whether a checkbox is checked or not.
Somehow
cbox.checked
property is always false. What other thing I can do. I saw all the other similar questions, but nothing is working with this stupid IE.
EDIT
I forgot to mention something that may be relevent. Html is like:
<input type='hidden' name='terms' value='0' />
<input type='checkbox' name='terms' id='terms' value='1' />
Hidden field is attached with it, because I am using Zend Form, and it always attaches a hidden field with every checkbox.
I am using protoype.js thats why I cannot use jQuery. I am checking that its check or not, in onsubmit event of the form. I guess somehow hidden field with the same name is tripping IE6