Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Code for using a Hot Key in an ActiveX Control?



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

Post New Answer

More Scripts_Markup Code AllOther Interview Questions

Code for using a Hot Key in an ActiveX Control?

1 Answers  


Code for Adding Scripting Support to an Application?

1 Answers  


How can a procedure fetch data from FTP? I need a general code for this..

1 Answers   Infosys,


How to access oralce10g data from server to client in LAN?

1 Answers  


iam getting keyword or delimiter error while executing ICETOOL,provide me solution.

1 Answers  


Categories
  • PHP Code Interview Questions PHP Code (33)
  • JSP Code Interview Questions JSP Code (6)
  • ASP Code Interview Questions ASP Code (5)
  • CGI Perl Code Interview Questions CGI Perl Code (3)
  • JavaScript Code Interview Questions JavaScript Code (63)
  • VB Script Code Interview Questions VB Script Code (20)
  • Shell Script Code Interview Questions Shell Script Code (31)
  • Python Code Interview Questions Python Code (34)
  • WinRunner Code Interview Questions WinRunner Code (1)
  • HTML DHTML XHTML Code Interview Questions HTML DHTML XHTML Code (13)
  • XML Interview Questions XML (43)
  • Scripts_Markup Code AllOther Interview Questions Scripts_Markup Code AllOther (5)