File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes No window.event in firefox ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "No window.event in firefox ?" Watch "No window.event in firefox ?" New topic
Author

No window.event in firefox ?

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 339
I got this javascript works fine in Opera and IE, but not in firefox, there is no window.event, do anyone knows why ???

window.event.keyCode is 13 in IE and Opera, but the window.event dont exist in firefox why, and what kan i do, i have to check on enter in a input field ???




Frank
[ August 23, 2005: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Here is how you would make it cross-browser friendly with a basic example:


Eric
shareef hiasat
Greenhorn

Joined: Jul 15, 2011
Posts: 8
Thank you its just what i needed
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No window.event in firefox ?
 
Similar Threads
Opera submits form on enter Explorer dont ?
How can I limit the entry of textbox in javascript?
Replace keycode value in Firefox
IE vs FF window.event issue
ALT Key Combination help.