So, I have this opDiv1 set as onMouseOver="mhover(opDiv1)" but I want to change the function onMouseOver if the browser is IE.
I'm using this:
if (ie!=undefined) { //If IE detected
$('#opDiv1').attr("onMouseOver","mhover_ie('opDiv1')")
}
However, if I use IE (any version) it doesn't change onMouseOver's function