By referring this link, I had adopted a property called Event.Type to my script for a particular need and it worked fine in IE9. After that while making compatibility test, i came to know that it is not working in Mozilla FireFox. Additionally it is working with out any problems in Google Chrome and Safari.
DEMO
Any clues to solve this ? or Is there any alernate way available to substitute Event.Type in jquery.?
In most common browsers the
eventobject is defined globally, so it is available within the scope of yourloadhandler. However, in Firefox theeventobject is not defined globally, and the errorReferenceError: event is not definedis returned (useCtrl+Shift+Jto get the errors console if Firefox).As the comments to your question suggest, the best practice is to pass the
eventobject to the handler function like so: