Is开发者_开发百科 it possible to show all active jQuery bind()'s?
You can show all data that jQuery elements have referenced with:
console.log(jQuery.cache);  // Logs the entire cache
Or for just the events (for those elements that have them):
for(name in jQuery.cache) {
    if(jQuery.cache[name]['events'])
       console.log(jQuery.cache[name]['events']);
}
To do it at runtime using only the browser, use FireQuery: http://firequery.binaryage.com/
With jQuery:
var events = $('#element').data("events");
var firstClickEvent = events.click[0];
You can access all the event handlers like that for the element. To get every single one, you would have to enumerate the events variable.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论