Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace Up Arrow with Shift+Tab
Message
De
29/06/2003 18:19:21
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Microsoft Internet Explorer
Titre:
Replace Up Arrow with Shift+Tab
Divers
Thread ID:
00805134
Message ID:
00805134
Vues:
47
I need to move to previous input field when Up arrow is pressed
in checkbox.
I try to replace Up Arrow keypress with Shift+Tab keypress in onkeydown event.

Unfortunately, this does not work:

error: member not found

occurs at line
event.shiftKey=true;

How to move to previous input field if up arrow is pressed ?

Code to reproduce the problem:
<input type=checkbox 
onkeydown="
if(!event.ctrlKey && event.keyCode==38) {
  event.shiftKey=true;
  // next line causes error: Member not found
  event.keyCode=9;
  return; }">
Andrus
Répondre
Fil
Voir

Click here to load this message in the networking platform