Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyCode support in Firefox
Message
From
06/02/2012 11:10:05
 
 
To
All
General information
Forum:
Javascript
Category:
Other
Title:
KeyCode support in Firefox
Miscellaneous
Thread ID:
01534560
Message ID:
01534560
Views:
77
A small adjustment is needed in this function to support the keyCode in Firefox:
function WindowKeyPress(toEvent)
{
   if (window.event)
   {
      Key=window.event.keyCode
   }
   else
   {
      if (toEvent)
      {
         Key=toEvent.keyCode
      }
      else
      {
      }
   }
}
Anyone would know what it is?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform