Posts Tagged ‘object’
How to get Event object of Firefox
Posted by: admin in Javascript on April 9th, 2010
-
function getEvent() {
-
if (window.event) return window.event;
-
else return getEvent.caller.arguments[0];
-
}
-
-
function showMessage(){
-
var e = getEvent();
-
-
// you can use this e object
-
}