[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-29 Thread KeeganWatkins
jayarjo, you might be interested in firequery, an experimental firebug extension that visualizes jQuery manipulations. http://firequery.binaryage.com/ On Oct 29, 7:54 am, Bjarki wrote: > Using firebug: > you can write $('selector').data('events') in the console and run it. > then you will get al

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-29 Thread Bjarki
Using firebug: you can write $('selector').data('events') in the console and run it. then you will get all the events bound to that object. you can click the events in firebug and go to there source to view them. On Oct 28, 11:45 am, jayarjo wrote: > I wonder if I can see somewhere what events a

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-28 Thread jayarjo
Looks interesting, also I couldn't find the way to query it for specific DOM elements. However, as I figured out events are just set on DOM elements with .data() function. So it just a matter of some scripting to list them all in the console. Pretty straightforward. Firebug people are building

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-28 Thread Karl Swedberg
On Oct 28, 2009, at 7:45 AM, jayarjo wrote: I wonder if I can see somewhere what events are binded to a DOM element (in FireBug maybe). Maybe it's obvious, but I just don't know yet if it's even possible. this bookmarklet might help: http://www.sprymedia.co.uk/article/Visual+Event --Karl