Menu
if have this script written to handle back button problem
it works fine with IE 1.8 but in chrome3.0 and firefox 3.0 i’m not able to get the mouse position.
function checkback(e)
{
if(!e)
e=window.event;
var vx=e.clientX;
var vy=e.clientY;
if(0 < vx & vx < 150 & vy < 0)
{
window.location.reload();
}
}
i printed the values of vx and vy and found them ‘undefined’
Even pageX/Y and screenX/Y are not working.
please suggest me something.