Is there any way or tools I can check which JavaScript function is run after clicking a button in Internet Explorer?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try the IE8 Script Debugger (under Developer tools (F12)). The Developer Tools have several tabs, one of them is “Script”. There, you need to use “start debugging” button (it changes to “stop debugging”, as seen in screenshot), and then look for a button with the “pause” (
||) symbol on the same toolbar. Note that the(source: piskvor.org)
(source: piskvor.org)
It allows you to set “break on next instruction”; do that and the debugger will open on the next line of JS to be executed. If you step through all the event handlers for the button, you’ll see what is called there.
If you have some control over the page, you may want to disable the mouseover and similar handlers, as those will also trigger the debugger.