My problem is i am using events for invalidating the session. In Mozilla it is not able to recognize events.
I am giving the code snipet i am using please see that and help me in that regrard
// JS Part
function unLoadFnc(evt) { var isMozilla = navigator.userAgent.indexOf('Mozilla') != -1 && parseInt(navigator.appVersion.substring(0,1)) less than 5; var isIE = navigator.userAgent.indexOf('MSIE') != -1;
var e = (window.event) ? window.event : evt; var ie5 = true; if(isMozilla == "Mozilla"){ ie5 = true; }
var offsetx=ie5? window.event.clientX : e.clientX var offsety=ie5? window.event.clientY : e.clientY
alert(offsetx); alert(offsety); }
// Jsp calling part
body class="bg_white" onunload="unLoadFnc(event)"
In IE i am getting the offsetX,offsetY variabled based on the position of the hyperlink i am clicking where as in Mozilla or Opera i am getting them as undefined
Please continue any conversation in your original post, which has been moved to the approriate forum. Do not start new topics in the middle of a conversation. Thanks.