To see a tool that can view HTML element binding events, or the Debug method

Source: Internet
Author: User
To find a tool that can view HTML element binding events, or the Debug method.
Work often need to test some page JS code, now jquery and other JS framework applications, are dynamically bound events, and no longer is some onclick= "" and so on, for this dynamic binding event, often headache can not find the element exactly what the event is bound.

Is there any way to solve this problem? If you have a browser plugin is also good.
------Solution--------------------
I only know firebug, but there seems to be no way to view kidnapped.
------Solution--------------------
Only know Firebug, others don't know.
------Solution--------------------
Let the dog get it:
Http://www.sprymedia.co.uk/article/Visual+Event
http://www.softwareishard.com/blog/firebug/eventbug-alpha-released/
Chrome's own developer tools can also

But.....

It's not perfect.
------Solution--------------------
Firebug, it can see any HTML,JS event you want.
------Solution--------------------
References:
references:
Firebug, it can see any HTML,JS event you want.


Firebug can't see the dynamic binding event Ah, is it my useless proficiency?


Firebug itself is not, the above I affixed to the Firebug plug-in, installed will have a new tab:event
------Solution--------------------
References:
references:
Let the dog get it:
Http://www.sprymedia.co.uk/article/Visual+Event
http://www.softwareishard.com/blog/firebug/eventbug-alpha-released/
Chrome's own developer tools can also

But.....

It's not perfect.

...


Visual+event that is drag the button to your favorites, then press it on the page you need

------Solution--------------------
Also, if your page is jquery-based, jquery also has a plugin to display, on its website to find
------Solution--------------------
Firedebug, give it a try.

Debug.log (Domobj);
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.