0
            else {
                oStatus.attachEvent("onmouseover", function(){getCoordinates(oStatus)});
                oStatus.innerHTML="<class='SHOW'>Status: <b>New</b>. Click <a class='customlink' href='javascript:startHere();'><span id='here'>here</span></a> to start.";
                }

//I got the error: "Object does not support property or method 'attachEvent'"

Can any one help me for IE11 fixing this issue

ruhungry
  • 4,506
  • 20
  • 54
  • 98
user3616597
  • 11
  • 1
  • 4

1 Answers1

1

Use the DOM standard addEventListener, just as you would in any other browser. IE has supported it since IE9.

element.addEventListener('mouseover', function (event) { });
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335