| Author |
window.event.clientX does not work in IE8
|
Sameer Kumar
Greenhorn
Joined: Jul 09, 2008
Posts: 6
|
|
Hi,
We are checking the window size while closing the screen, and if its less than 0, we have to do some processing.
Means, just before closing the window, we have to update some records in database.
This particular check "if ((window.event.clientX < 0) || (window.event.clientY < 0)) {" was working fine with IE6 and IE7 but failing in IE8.
Any one knows any alternative regarding this.
We are supporting only IE browsers.
Sameer
|
Regards,<br />Sameer Kumar
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Maybe IE finally fixed that!! If you can not read it, than I am guessing IE corrected that so it behaves like every other browser.
So your code fails with Ctrl-W, browser errors, closing via taskbar, typing in the address bar, etc?
Eric
|
 |
 |
|
|
subject: window.event.clientX does not work in IE8
|
|
|