GregH
GregH

Reputation: 12858

Where is a good JavaScript reference for object event handlers?

I am relatively new to JavaScript and constantly need to look up how to handle various events for objects. For example, I have a table containing a few text fields and need to know when somebody starts typing in any of the text boxes. Is there any good concise reference on the web anyplace that documents all of the objects and event handlers associated with all objects? I'd like to be able to look up the object and see all of the events I can handle for that object.

Upvotes: 2

Views: 113

Answers (4)

Garrett
Garrett

Reputation: 3023

Event handler properties vary a little between browsers. Check Mozillas documentation, the w3c events specification linked, and MSDN.

Upvotes: 0

Kris
Kris

Reputation: 41827

Checkout mozillas javascript ducmentation on addEventListener https://developer.mozilla.org/en/DOM/element.addEventListener

and the w3 spec page, section about event flow: http://www.w3.org/TR/DOM-Level-3-Events/#event-flow

Upvotes: 1

Weston C
Weston C

Reputation: 3632

Take a look at the events section here:

http://www.quirksmode.org/js/contents.html

Upvotes: 0

Related Questions