title: jQuery change to return checked or unchecked status
body: <p>I'm trying to use the following function to return <code>true</code> or <code>false</code>, based on the status of a checkbox, I'm using the <code>jQuery</code> <code>iButton</code> plugin (that hides the checkbox and replace it by an <code>iPhone</code> style  sliding button that supports dragging event) the only way I found to detect the dragging as well as the click event is using jQuery change.</p>
  
  <pre><code>var testChecked= function(){
      $('#status').change(function(){ // #status is the checkbox ID
          if($(this).is(':checked')){
              console.log('is_checked');//works
              return true;
          }
          else{
              console.log('is_unchecked');//works
              return false 
          } 
      });
  }
  </code></pre>
  
  <p><a href="http://jsfiddle.net/fnt5J/1/" rel="nofollow">http://jsfiddle.net/fnt5J/1/</a></p>