How can I uncheck a checked checkbox programmatically
<p>Say I have the following sample:</p>

<pre><code>&lt;input name="Opt1" id="Opt1" type="checkbox" value="1" alt="1948" title="RQlevel1" src="2" checked="checked" onclick="levels();"/&gt;  &lt;label style="cursor:pointer" for="OptID12851948"&gt;PADI Advanced Open Water&lt;/label&gt;

&lt;input name="Opt2" id="Opt2" type="checkbox" value="2" alt="1953" title="RQlevel2" src=""  onclick="levels();"/&gt;  &lt;label style="cursor:pointer" for="OptID19521953"&gt;PADI Rescue&lt;/label&gt;

&lt;input name="Opt3" id="Opt3" type="checkbox" value="3" alt="1957" title="RQlevel2" src=""  onclick="levels();"/&gt;  &lt;label style="cursor:pointer" for="OptID19521953"&gt;PADI Rescue2&lt;/label&gt;
</code></pre>

<p>If I click PADI Advanced Open Water checkbox, which will then call the levels() javascript function, how can I programmatically uncheck this checked checkbox using jQuery?</p>

<p>I have tried the following but doesn't work:</p>

<pre><code>if ($("input[value='1']:checked").attr("checked")){
    $("input[value='1']:checked").attr(“checked”, false);
}   
</code></pre>

<p>Any help would be appreciated.</p>

<p>Thanks.</p>
