How to know whether checkbox is checked or not, jquery?
<p>Is there any better way to do this :</p>

<pre><code>var IsC = $('input[type=checkbox]').attr("checked") == "checked" ? true : false;
</code></pre>

<p>?</p>
