| Author |
IE vs FF window.event issue
|
Chinni Bujji
Ranch Hand
Joined: Jan 31, 2007
Posts: 60
|
|
Trying to capitalize the letters as the user types in the text box, works fine in IE but not in Firefox
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
Firefox, and other real browsers, use the standard Event instance as defined by the W3C. IE, on the other hand, uses its own proprietary layout. You need to accommodate both (or use a library like jQuery which normalizes the event object).
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Most browsers will not let you reassign the key code for security reasons. You are better off doing it after the user type it in.
|
 |
 |
|
|
subject: IE vs FF window.event issue
|
|
|