I want to set an onmousover function with arguments:
<a id="test" href="test.htm" >testje</a>
anchor = document.getEle mentById("test" );
anchor.onmouseo ver = function(){ anchorMouseover (this,event) };
function anchorMouseover (anchor,event)
{ ...
}
In this code "this" will provide the anchor, but I can't find a way to get
the event. Can anyone give me some suggestions how to do get this?
Thanks a lot...
Wim
<a id="test" href="test.htm" >testje</a>
anchor = document.getEle mentById("test" );
anchor.onmouseo ver = function(){ anchorMouseover (this,event) };
function anchorMouseover (anchor,event)
{ ...
}
In this code "this" will provide the anchor, but I can't find a way to get
the event. Can anyone give me some suggestions how to do get this?
Thanks a lot...
Wim
Comment