Check which JavaScript function is run after clicking button in Internet Explorer -


Is there a way or tool to run which function can be run after clicking on a button in Internet Explorer?

Try IE8 script debugger (under Developer Tools (F12)). There are several tabs in the developer tool, one of them is "script" where you need to use the "Start debugging" button (it changes to "Stop debugging" as shown in the screenshot), and then "Pause" ( Find a button with the = ) symbol, note the same toolbar that

allows you to set a "brake on the next instruction" is; Do this and Debugger will be executed on the next line of JS. If you move through all the event handlers for the button, you will see what has been said there.

If you have some control over the page, you will want to disable the mousewire and similar handlers, also the debugger will trigger.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -