Keyboard shortcuts. Is this possible?

Discussion in 'Javascript' started by Mark Smith, Apr 23, 2009.

  1. Mark Smith

    Mark Smith Guest

    Is it possible to have Alt+Letter keyboard shortcuts to switch focus
    between controls on a web page?

    Or will these always be picked up by the browser first?

    Thanks
     
    Mark Smith, Apr 23, 2009
    #1
    1. Advertising

  2. Mark Smith wrote:
    > Is it possible to have Alt+Letter keyboard shortcuts to switch focus
    > between controls on a web page?


    Yes, but you should use <... accesskey="x"> instead and let the browser
    define how to trigger it.

    > Or will these always be picked up by the browser first?


    Not always, but maybe often.


    PointedEars
     
    Thomas 'PointedEars' Lahn, Apr 23, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ekta

    keyboard shortcuts in asp.net

    ekta, Jun 29, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,199
  2. Erland

    Keyboard shortcuts, please help.

    Erland, Oct 12, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    337
    Mischa Kroon
    Oct 12, 2006
  3. Mark Space

    Keyboard Shortcuts in Netbeans

    Mark Space, Apr 7, 2008, in forum: Java
    Replies:
    0
    Views:
    417
    Mark Space
    Apr 7, 2008
  4. aud2008

    Custom keyboard shortcuts

    aud2008, Nov 9, 2008, in forum: Python
    Replies:
    1
    Views:
    242
    Lie Ryan
    Nov 9, 2008
  5. aud2008

    Custom keyboard shortcuts

    aud2008, Nov 9, 2008, in forum: C Programming
    Replies:
    0
    Views:
    256
    aud2008
    Nov 9, 2008
Loading...

Share This Page