Datalogic Applications
User’s Manual 161
Key Press Metatags
The key press metatags can be used to call JavaScript functions.
They have the name structure: "DL_Key_xxx" where xxx is the VKey
code.
Example:
<meta http-equiv="DL_Key_13" content="Javascript:CheckEnter();">
Assigning a key press via a DL_Key metatag overrides its use on the
page. For instance, when entering data in a text box a character
assigned as a DL_Key would not be entered in the text box. Instead,
the javascript action would occur.
Refer to the Microsoft website to find the list of all the possible Vkey
codes:
http://msdn.microsoft.com/en-us/library/bb431750.aspx
http://msdn.microsoft.com/en-us/library/aa243025(VS.60).aspx
NOTE
Because DL_Keys persist past the page in which they
were loaded, the DL_Clear metatag is provided to clear the
settings on subsequent page loads.