Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyCode support in Firefox
Message
From
06/02/2012 11:14:17
 
 
To
06/02/2012 11:10:05
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01534560
Message ID:
01534561
Views:
49
This small adjusment does it:
function WindowKeyPress(toEvent)
{
   if (window.event)
   {
      Key=window.event.keyCode
   }
   else
   {
      if (toEvent)
      {
         if (toEvent.keyCode)
         {
            Key=toEvent.keyCode
         }
         else
         {
            Key=toEvent.charCode
         }
      }
      else
      {
      }
   }
}
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
Previous
Reply
Map
View

Click here to load this message in the networking platform