Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping a Paste Event on an Input Box
Message
De
28/03/2002 03:05:18
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Trapping a Paste Event on an Input Box
Divers
Thread ID:
00638289
Message ID:
00638289
Vues:
58
I am writing a web based application. Data is read from a Barcode reader. When a new value is read in the system should detect that a value has been entered. I can't see which event to monitor on the input.

script
function checkbarcode (value) {
//Some stuff to read the barcode
}
script

body

body

The problem is that none of the keypress events will work because it is an input from the barcode reader.
The onchange event wont work because I am not loosing focus.

What I need is a mechanism to detect when the contents of the input box has changed, but retaining focus on the input box.

Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform