Hi all,
In the context of a function which has var X = ???.
Doing alert(X) gives [object HTMLDivElement].
Any idea how to find out what it's ID is?
Hi all,
In the context of a function which has var X = ???.
Doing alert(X) gives [object HTMLDivElement].
Any idea how to find out what it's ID is?
Please include your function or a link to your website.
Thanks for the fast response.
The function is:
function SuperBoxOut(e)
{
if (!e) var e = window.event;
var relTarg = e.relatedTarget || e.toElement;
}
Which is being called by:
onmouseout="SuperBoxOut(event)"
Thanks
Just to let you know i got my answer... relTarg .id
Thanks.
Bookmarks