title: How do I find what Javascript is running on certain events?
body: <p>I'll pick Chrome for this example, but I'm open to a solution from any browser.</p>
  
  <p>Use Case:
  I have an update button on my website that is used to update item quantities in a shopping cart. I'd like to allow a user to enter a 0 and click update in order to remove the item. Trouble is, there is some listener in some js function that is denying the ability to enter a 0 and click update (after clicking update the old quantity remains).</p>
  
  <p>My question is, what developer tool can I use to find which js function is running during that event? I don't think that Chrome's inspector does this, and I'm not very familiar with Firebug, but I couldn't find the functionality there either.</p>
  
  <p>I feel that I should be able to inspect js firings just like I do css stylings. Is anyone aware of a tool I may use?</p>