开发者

Could I find the function invoked by an event in run-time?

开发者 https://www.devze.com 2022-12-09 04:33 出处:网络
I want to find that when a user fires an e开发者_JAVA百科vent, such as click a button, what function(s) does this event invoke at run-time?Would it be possible?

I want to find that when a user fires an e开发者_JAVA百科vent, such as click a button, what function(s) does this event invoke at run-time? Would it be possible?

Thanks!


interesting question. add some debugging alert(), you will know what functions are triggered.

p.s. actually, the "function" you mean is the JavaScript internal function or the user-defined functions?

0

精彩评论

暂无评论...
验证码 换一张
取 消