IE not working
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
The below code work well on Crome but not in IE
<script language=JavaScript>
var sTestEventType='mousedown';
function handleMouseEvent(e) {
var evt = (e==null ? event:e);
if (evt.type!=sTestEventType) return true;
if (evt.which==1) return true;
return false;
}
document.onmousedown=handleMouseEvent;
document.onmouseup=handleMouseEvent;
document.onclick=handleMouseEvent;
</script>Can anyone help to modified it to work in IE.
Thanks
0
Kudos
0 REPLIES 0