Link to home
Start Free TrialLog in
Avatar of BhanuSVS
BhanuSVSFlag for India

asked on

How to implement shortcut keys for buttons in my web application?

Dear Experts,

In my web application i want to implement short cut keys for buttons , i used acesskey in JSF but some of the keys like ALT+D is not working in IE 8 with this hot keys.

Please provide any  solution to implement the user defined short cut keys for buttons which will work in all the browsers.

Please provide any java script solution.
ASKER CERTIFIED SOLUTION
Avatar of Lalit Chandra
Lalit Chandra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
some accesskeys are reserved by ie.

ALT+D is one of these - you can't use it yourself.

Firefox (superior in every way) has a simple solution - accesskeys are ALT+SHIFT+key

so in Firefox you can have accesskey="D" and active it using ALT+SHIFT+D

but in ie8 you simply can NOT use certain accesskeys yourself
Avatar of BhanuSVS

ASKER

thanks