Checkbox not getting checked when using jquery toggle
<p>I want the checkbox to be checked when I am using jquery toggle function.  It works fine when I use the <code>.bind('click')</code>.</p>

<pre><code>$('#chkb').toggle(function () {

    $('#va').text("checked");
    $('#chkb').attr('checked', 'checked');

}, 
function () {

    $('#chkb').attr('checked', 'false');
    $('#va').text("");

});
</code></pre>

<p>html</p>

<pre><code>&lt;input type="checkbox" id="chkb" /&gt;
</code></pre>

<p>How do I get it done.</p>

<p>Thanks
Jean</p>
