Jump to content

Event.target hack for FF needed.


Omirion

Recommended Posts

Nevermind got it.

 

here is the complete code if anyone is interested.

 

function nav_InnerHtml_set(e){
if(e == undefined) e = window.event;
var node = e.target;
while(node.nodeType != node.ELEMENT_NODE)
node = node.parentNode;
}

 

node is your calling elements instance.

Works in IE FF CHROME

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.