Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping a Paste Event on an Input Box
Message
From
28/03/2002 03:05:18
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Trapping a Paste Event on an Input Box
Miscellaneous
Thread ID:
00638289
Message ID:
00638289
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform