KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I wanted to test chrome to see if it can show me what method will be running for onclick registered event. So I wanted to see which JS function execute shen people upvotes a question : https://i.sstatic.net/3mbce.jpg But I couldn't found the actual code. is it possible with chrome to find which JS executes when "onclick"? edit I could use the console to do it with : $.each($(".vote-up-off").data("events"), function(i, e) { // this will work till jq 1.8 console.log(this) }); and here is our friend: But hey ! , I want chrome to do the work :-)
Tags (comma-separated)
Save Edits
Cancel