Catching the specific javascript code being executed onClick

后端 未结 5 2259
孤独总比滥情好
孤独总比滥情好 2021-01-03 19:47

I am working on a site that has loads of legacy javascript and jquery includes and there is no documentation to show what is happening when.

I have a specific proble

5条回答
  •  甜味超标
    2021-01-03 20:27

    You can click Firebug's "Break on next" button (in the Script tab; it looks like a pause button), then push the button that you want to debug.

    The next time any JavaScript code executes, Firebug will break into the debugger and show you that line of code.

提交回复
热议问题