Entry
How can i determine the Class of an Object passed via Event Handlers?
May 20th, 2003 03:49
Jens Kisters, vrushali nadpurohit,
> USE THE getClass().getName() method
This doesnt seem to work i used the tagName in IE Attribute to
determine the type of Object that was passed by the event handler.
Unfortunately in NS4/6 this seems to work for all objects apart from
the A tag which i need to grab the events on.
.type is set for some Elements but not for all.
i think i will check the objects for the presence of their typical
properties to determine what raised the event