简体   繁体   中英

FireBug/Safari Dev Tools: Locate JavaScript Operation

I'm using both FireBug and Safari Developer Tools to debug my javascript.

I'm curious if there is a method (using these tools, or others), to select a DOM element, and identify any javascript operating upon said element?

This would be hugely helpful in furthering my understanding of the plugins I use, by being able to locate specific operations and understand how they function.

The Safari/Chrome debuggers allow you to see event listeners associated with any DOM object. I'm not aware of any tools to show you which javascript changes a given object.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM