title: jQuery check if onClick exists on element
body: <p>I found the way to <a href="https://stackoverflow.com/questions/1515069/jquery-check-if-event-exists-on-element">check if event exists on element</a>. But it's not work on the events which is not delegated by jQuery...</p>
  
  <p>When I try,</p>
  
  <pre><code>$("a").data("events");
  </code></pre>
  
  <p>for this.</p>
  
  <pre><code>&lt;a href="#" onClick="alert('Hello, World!')" /&gt;
  </code></pre>
  
  <p>It returned undefined.</p>
  
  <p>Is there any way to check if <strong>onClick</strong> exists on elements with jQuery?</p>
  
  <p>Thanks.</p>