BTW, this feature was requested several times in the past, but
apparently, no wish was opened for it in the issue tracker:
http://groups.google.com/group/firebug/browse_thread/thread/e4271e2e6f5fdbd4
http://groups.google.com/group/firebug/browse_thread/thread/83f0c27811834499
http://groups.google.com/group/firebug/browse_thread/thread/a9bab4e2f5b6e7eb
Regards,
splintor
On Nov 1, 7:08 pm, John J Barton <[EMAIL PROTECTED]> wrote:
> Sorry I was not clear. As far as I know there isn't a way to look at
> the events. But it should be possible, is needed function, etc. So how
> to make progress? I would start by looking into the browser generated
> event scripts, simply because I know they exist.
>
> jjb
>
> On Oct 31, 3:55 pm, Eddified <[EMAIL PROTECTED]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---