On Mar 3, 5:14 pm, i-am-will <[email protected]> wrote:
> Hi there,
>
> I'm wondering if this is possible with Firebug (maybe with an plugin):
>
> Scenario:
> Let's say I have a HTML page that contains some DIV's. Using JQuery I
> add some events on it might someone click on those divs.
>
> Needed:
> 1. An ability to see what will happen if I click on a DIV. Just like I
> would see the onclick events on a html-tag.
This is possible using Eventbug. This extension shows registered
events handlers for HTML element (there is additional Events side-
panel that shows event handlers for selected element in the HTML
panel).
http://www.softwareishard.com/blog/firebug/eventbug-alpha-released/


> 2. An ability to enable some form of monitoring, so I can see what
> happend after I clicked the div.
>  I know about console.trace(); But I mean something that can debug on
> the fly, so that if I would add 10 onclick events, I can see what is
> happening.
Not sure if I understand correctly, but you could try "Log Events"
option that logs various events into the Console panel. Just switch to
the HTML panel, right click on specific element, set "Log Events"
option and see what is happening in the Console.

Honza

-- 
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