title: Calling a function by checking a checkbox JQuery
body: <p>I am new at Jquery and was hoping for some advice as to how to call a jQuery function using a check box.</p>
  
  <pre><code>$(document).on("click", "input[name='chkBestSeller']", function () {
  
      alert("Thanks for checking me");
  
  });
  
  &lt;input type='checkbox' name='chkBestSeller' value='Best Seller'/&gt;
  </code></pre>
  
  <p>At the moment, it is not working.</p>