views:

409

answers:

3

How can I trace all javascript events of a Webpage?

Is there a possibility to trace all events, even such without a handler attached?

Is there any tool out there, that can do this?

Clarification:

For example:

For a text input i can add an event handler for onblur and onchange.

If I (in the browser) change the value of the textfield and leave it, both eventhandlers are executed. Now I would like to know which other events I "have missed" (the ones which would have been executed if there was an eventhandler attached).

Clarification2:

Can I get a list(on a given element) of all possible events I can attach an eventhandler?

+2  A: 

You can use FireBug Profiling Tool on FF and Web Developer Tool on IE8 or Developer Tools on WebKit

EDIT:

Just curious though, what do want to do with those events?

jerjer
Web Developer Tool for IE did the job. thx.
danimajo
A: 

Check this tool: http://www.sprymedia.co.uk/article/Visual+Event

neverSayNo