Hi Dushyant,

Please try to capture and handle the onkeydown event for ALT+D using JavaScript. In the event handler, you can set the focus on the commandButton and return false to prevent the browser from transferring the focus to the address bar.

Thanks
Mamallan

dushyant agarwal wrote:
Hi,
In IE 7 I am trying to put access key on a command button. But Alt+D brings the focus to the address field in IE. Can someone please tell how to enforce the browser to activate the button and not the address field.

Thanks,
Dushyant

------------------------------------------------------------------------
Looking for local information? Find it on Yahoo! Local <http://in.rd.yahoo.com/tagline_local_1/*http://in.local.yahoo.com/>

Reply via email to