To view the html element binding event tool or debug method.

Source: Internet
Author: User
Here is a tool for viewing html element binding events, or the debug method. Some Page js code is often tested at work. Currently, js framework applications such as jquery are dynamically bound events instead of onclick = "". for such dynamic binding events, I often have a headache and cannot find the events that the element is bound. Is there any way to solve this problem? If there is a handler, find a tool that can view html element binding events, or debug method.
Some Page js code is often tested at work. Currently, js framework applications such as jquery are dynamically bound events instead of onclick = "". for such dynamic binding events, I often have a headache and cannot find the events that the element is bound.

Is there any way to solve this problem? If there is a browser plug-in, it is also good.
------ Solution --------------------
I only know about firebug, but it does not seem that I can check the setting.
------ Solution --------------------
Only know about firebug, others do not know
------ Solution --------------------
Put the dog to get:
Http://www.sprymedia.co.uk/article/Visual+Event
Http://www.softwareishard.com/blog/firebug/eventbug-alpha-released/
Chrome's built-in developer tools can also be used.

But .....

Not perfect
------ Solution --------------------
Firebug is enough. you can view any HTML or JS events you want.
------ Solution --------------------
Reference:
Reference:
Firebug is enough. you can view any HTML or JS events you want.


Firebug cannot see dynamic binding events. isn't it my skill?


Firebug does not exist. The plug-in I posted above is firebug. a new tab is installed: event
------ Solution --------------------
Reference:
Reference:
Put the dog to get:
Http://www.sprymedia.co.uk/article/Visual+Event
Http://www.softwareishard.com/blog/firebug/eventbug-alpha-released/
Chrome's built-in developer tools can also be used.

But .....

Not perfect

......


Visual + Event: drag the button to your favorites, and then press it on the page you need

------ Solution --------------------
Also, if your webpage is dominated by jquery, there are also plug-ins in jquery that can be displayed and you can find them on its website.
------ Solution --------------------
Try firedebug

Debug. log (domobj );

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.