title: jquery checkbox change,click event not working with jQuery1.8.2
body: <p>I have a simple js where i am showing an alert on click or change event of checkbox. I am using jquery-1.8.2.js library file. The code is working fine in jsFiddle but its not working elsewhere. I am unable to figure out what could be the issue here.</p>
  
  <pre><code>&lt;input type="checkbox" id-="chkJS"/&gt;&lt;label for "chkJS"&gt;click this&lt;/label&gt;
  
  $(document).ready(function(){
      $('#chkJS').change(function(){
      alert("changed it");
      });
      $('#chkJS').click(function(){
      alert("clicked it");
      });
  });
  </code></pre>