yup, thats exactly what i want. i'll see about creating a plugin that modifies the bind function, thanks!
On Aug 16, 5:01 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > Not sure exactly what you want to see. Is it that you have an existing > page with a bunch of jQuery events added (most likely that you didn't > write yourself) and you want to see (say via Firebug) what events are > attached to what elements? > > Firebug is a big help, you can set breakpoints in event handler > functions, and then step through to see how things flow. > > If you're feeling brave you could alter the bind() function to add a > new attribute to the element, to flag that a particular event has been > attached. > > Karl Rudd > > On Sat, Aug 16, 2008 at 7:21 AM, chrismarx <[EMAIL PROTECTED]> wrote: > > > nobody else have this problem (or see it as a problem?)? > > > On Aug 4, 6:03 pm, chrismarx <[EMAIL PROTECTED]> wrote: > >> It's great to have separation of concerns with jquery, removing > >> javascript from the markup, but I've noticed that it can be difficult > >> to start to understand how an application works (say you've inherited > >> an app for instance) if there's lots of jquery bound events, and no > >> evidence of that in the html page. > > >> I'm wondering if theres a way (options, plugin, etc) to have jquery > >> add some kind of attribute to the elements, which are being bound, so > >> that someone looking at the runtime page can more easily track all of > >> the events. is there a way to do this?