Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyCode support in Firefox
Message
De
06/02/2012 11:10:05
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
KeyCode support in Firefox
Divers
Thread ID:
01534560
Message ID:
01534560
Vues:
76
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform