最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

firebug - Is it possible to find JavaScript events that are tied to a specific piece of HTML? - Stack Overflow

matteradmin5PV0评论

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
Add a ment  | 

1 Answer 1

Reset to default 10

Give 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.

Post a comment

comment list (0)

  1. No comments so far