admin管理员组文章数量:1432602
I'm working with someone else's code, and I want to be able to see what JavaScript they have tied to a particular button on the page. Is there some way to watch what code is being fired off by clicking the button in FireBug or something?
I'm working with someone else's code, and I want to be able to see what JavaScript they have tied to a particular button on the page. Is there some way to watch what code is being fired off by clicking the button in FireBug or something?
Share Improve this question asked Jun 2, 2009 at 15:53 Trey PiepmeierTrey Piepmeier 1,0062 gold badges13 silver badges21 bronze badges 1- Duplicate: stackoverflow./questions/570960/… – Dan Lew Commented Jun 2, 2009 at 16:02
1 Answer
Reset to default 10Give Visual Event a try. It's a bookmarklet that will highlight all Elements in a page with events bound to them and will give you a nice little readout on what's bound to each Element.
版权声明:本文标题:firebug - Is it possible to find JavaScript events that are tied to a specific piece of HTML? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745606991a2665891.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论