Originally posted by Bear Bibeault:
The element that initiated the event is available in the event instance. How this construct is obtained and which property contains the reference differs between standards-compliant browsers and standard-breaking Internet Explorer.
As with Ajax, I always recommend that you employ one of the popular JavaScript libraries to handle all the browser difference with event handling. Either of jQuery or Prototype has a good event-handling system, though jQuery hides more of the browser difference for you.
If you want to go it alone (not recommended), you'll need to account for the following major differences:
Standard browsers pass the event instance as a parameter to the handler, while IE tacks it onto the windowIn the event instance, standard browsers use the target property to store the target reference, while IE uses srcElement
Thanks a bunch! It worked!!