SaveFerris
04-08-2007, 05:56 PM
I'm having problems changing the event of some elements. This following code works perfectly fine in Firefox:
workin.attributes["onmouseover"].value = b2use+"(this.id)"
workin.attributes["onclick"].value = b2use+"2(this.id)"
But it doesn't work in IE, can someone help me with changing the event for IE?
Thank you.
PS. Anyone who is going to say use workin.onclick, don't bother. It doesn't work with functions that require parameters.
workin.attributes["onmouseover"].value = b2use+"(this.id)"
workin.attributes["onclick"].value = b2use+"2(this.id)"
But it doesn't work in IE, can someone help me with changing the event for IE?
Thank you.
PS. Anyone who is going to say use workin.onclick, don't bother. It doesn't work with functions that require parameters.