JavaScript: Keycode

xiaoxiao2021-03-06  41

Function AutoComplete (OTEXTBOX, OEVENT, Arrvalues) {switch (OEvent.Keycode) {Case 38: // á key case 40: // â key case 37: // ß key case 39: // à key case 33: // Page Up Key Case 34: // Page Down Case 36: // End Key Case 13: // Enter Case 9: // Tab Key Case 27: // ESC Key Case 16: / / Shift key case 17: // Ctrl key case 18: // alt key case 20: // Caps lock key case 8: // 退 格 格 Case 46: // delete key Return True; Break; ...}}

Posted @

2004-12-06 18:11 Longlong Read (17) |

Comments (0) |

edit

Collect

Different paragraphs with ENTER to implement TAB function code

Different paragraphs with ENTER to implement TAB function code

2004-11-21 23:12:01 (Article Category: JavaScript)

1 ------------