<!DOCTYPE><html><head><title>clientX Property Sample</title><script type="text/javascript"> function clientCoords() { var clientInfo = "" clientInfo = "The x coordinate is: " + window.event.clientX + "\r" clientInfo += "The y coordinate is: " + window.event.clientY + "\r" alert(clientInfo); }</script></head><!--TOOLBAR_START--><!--TOOLBAR_EXEMPT--><!--TOOLBAR_END--><body onbeforeunload="clientCoords()"><div class="body"><h1>clientX Property Sample</h1><h1>Please Click on below link</h1><a class="copyright" href="http://www.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm">© 2007 Microsoft Corporation. All rights reserved. Terms of use.</a><!-- END_PAGE_FOOTER --></div></body></html>
we are using above code to get mouse coordinates . it is working fine IE8,IE9(some versions) but after latest windows update it is always giving X and Y Positions are same. we need these coordinates to check browser is closed and doing some operations like clear the sessions in ASP.NET
We are using IE10 Version :10.0.9200.16635
issue replication steps
1) please click link in the page
Thanks
Srikanth