Hello
I''m kind of confused on how to use Element.findElement.
I''ve something like this:
if (Event.findElement(event,''A'')) {
var elm = Event.findElement(event,''A'');
alert(elm.nodeName);
} else {
alert(''no link'');
}
var elm = Event.findElement(event,''A'');
alert(elm.nodeName);
returns #document! since the Event.findElement is not a ''A''
tag, why does it
still goes through if condition and not the else stuff?
how could I do this so it would handle this properly.
thank you in advance for your help.
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/