title: How to pass a jquery object to function?
body: <p>I am trying to write a generic code</p>
  
  <pre><code>var rodd = $('#checkBox');
  </code></pre>
  
  <p>I want to pass rodd to a function and check if it is checked</p>
  
  <pre><code>Callme(rodd);
  
  $(rodd).click(function() {
  Callme(this);
  });
  
  function Callme(rodd){
  if(this.checked){
  // do some behavior
  }
  }
  </code></pre>