jquery checked checkbox IE problem
- by lidermin
Hi, I'm having an issue verifying if a checkbox is checked using jquery on Internet Explorer.
This is the code I'm using:
if ($('#chkjq_1').attr('checked') == true)
It works fine on Firefox or Chrome, but on Internet Explorer 7, the condition is always false because the browser sets the property this way:
<input id="chkjq_1" type="checkbox"…