How to unchecked a checkbox?
<pre><code>&lt;input class=checked-val type="checkbox" value="foo" checked="true" /&gt; 
&lt;input class=checked-val type="checkbox" value="bar" checked="true" /&gt; 
</code></pre>

<p>Initially both checkbox are checked. But When I click any checkbox its checked value should be changed to checked=false. How can I do it using jquery or javascript?</p>
