title: How to check if element has click handler?
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/1236067/test-if-event-handler-is-bound-to-an-element-in-jquery">test if event handler is bound to an element in jQuery</a></p>
  </blockquote>
  
  <p>Tried to do the following (link is jQuery object of 'a' tag):</p>
  <pre><code> link.data(&quot;events&quot;) //undefined even if link has event handlers
   jQuery.data(link, 'events') //undefined always also
   jQuery._data(link, 'events') //undefined always also
  </code></pre>
  <p>using jquery-1.8.3</p>
  <p>So, how to check if element has click handler?</p>