jquery checked checkbox IE problem
<p>I'm having an issue verifying if a checkbox is checked using jquery on Internet Explorer.
This is the code I'm using:</p>

<pre><code>if ($('#chkjq_1').attr('checked') == true)
</code></pre>

<p>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:</p>

<pre><code>&lt;input id="chkjq_1" type="checkbox" CHECKED/&gt; IE7
</code></pre>

<p>And the right way is the following: (Firefox, Chrome):</p>

<pre><code>&lt;input id="chkjq_1" type="checkbox" checked="checked"/&gt; FF, Chrome, etc
</code></pre>

<p>What should I do to avoid this issue on Internet Explorer 7; is there a generic way in jquery to solve this?</p>

<p>Thanks in advance.</p>
