I wanted to check the chrome to see if it can show me which method will be executed for the onclick event registered.
So, I wanted to see what function JS performs shen people, raises the question:
http://i.stack.imgur.com/3mbce.jpg

But I could not find the actual code.
Is it possible with chrome to find which JS is executed when "onclick"?
Edit
I could use the console for this:
$.each($(".vote-up-off").data("events"), function(i, e) {
and here is our friend:

But hey !, I want chrome to do the job :-)
javascript jquery debugging google-chrome
Royi namir
source share