Code for using a Hot Key in an ActiveX Control?
Answer / Prakash Singh Bisht
In scripting, you can use the Window.onKeyDown event to catch keyboard events. Here's a simple example:
```javascript
function handleKeyDown(e) {
if (e.keyCode == 83 && (navigator.appName == 'Microsoft Internet Explorer')) { // This is the S key in IE
alert('You pressed the S key!');
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Code for using a Hot Key in an ActiveX Control?
Code for Adding Scripting Support to an Application?
How can a procedure fetch data from FTP? I need a general code for this..
How to access oralce10g data from server to client in LAN?
iam getting keyword or delimiter error while executing ICETOOL,provide me solution.