title: How to find event listeners on a DOM node in JavaScript or in debugging?
body: <p>I have a page where some event listeners are attached to input boxes and select boxes. Is there a way to find out which event listeners are observing a particular DOM node and for what event?</p>
  
  <p>Events are attached using:</p>
  
  <ol>
  <li><a href="http://en.wikipedia.org/wiki/Prototype_JavaScript_Framework" rel="noreferrer">Prototype's</a> <code>Event.observe</code>;</li>
  <li>DOM's <code>addEventListener</code>;</li>
  <li>As element attribute <code>element.onclick</code>.</li>
  </ol>