title: Get Attribute Javascript - jQuery
body: <p>I have the following HTML :</p>
  
  <pre><code>&lt;label&gt;
      &lt;input type='checkbox' checked="checked" /&gt;
      CLICK ME....
  &lt;/label&gt;
  </code></pre>
  
  <p>and script :</p>
  
  <pre><code>$(document).ready(function(){
      $("label").on("click",function(){
          if ($(this).children("input[type='checkbox']").is(':checked'))
          {
              //alert("checked");
             // return false;
          }
          else
  
          {
             // alert("not checked");
                // return false;        
          }
      });
  });
  </code></pre>
  
  <p>How can i get the checked state ? If its checked i want to perform some operations other ways some other .</p>
  
  <p>I used Live/On because the contend is dynamically added.</p>
  
  <p>Please check this <a href="http://jsfiddle.net/5N7cW/" rel="nofollow">jSfiddle</a> </p>