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.
A:
griegs
2010-06-16 22:34:12
+1
A:
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
Kris
2010-06-16 22:47:04
A:
Event handler properties vary a little between browsers. Check Mozillas documentation, the w3c events specification linked, and MSDN.
Garrett
2010-06-20 21:43:48