And yes, I also see the ability to have firebug show me event scripts.
But the point is I want firebug to show exactly which user code is
attached to which events given a DOM node. I can manually search
through all of the js code to find the line that caused the event to
be attached, but that doesn't really offer the functionality I'm
looking for.

On Oct 31, 4:43 pm, Eddified <[EMAIL PROTECTED]> wrote:
> No. I dont see the event script. Instead, I see the HTML markup of the
> page.
>
> On Oct 31, 4:32 pm, John J Barton <[EMAIL PROTECTED]> wrote:
>
> > If you click on the element and look in the Scripts tab locations do
> > you see an event script?
>
> > On Oct 31, 2:06 pm, Eddified <[EMAIL PROTECTED]> wrote:
>
> > > I am trying to figure out how to see what events are attached to a
> > > given DOM element. For example, if I use javascript to add a listener
> > > to the 'click' event of a DIV element like this:
> > > myDiv.addEventListener('click', function(){alert('test');}, false);
> > > and I inspect the DIV in the DOM tab, I can't see any 'click' event,
> > > or 'onclick'. I don't understand how to see what fires when the
> > > element is clicked.
>
> > > I'm using firebug version 1.2.1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to