Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2007
    Posts
    61
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Keyboard shortcut for a button

    Hi suppose,
    I have code like this -


    Code:
     <center><button onclick="refreshTable()" accesskey="C" ><b>CLICK HERE TO UPDATE DEVICE LOCATION</b></button></center><br>
    I want to provide a shortcut key as c to my button on html page.

    But it is not working...

    What wrong am I doing ?

    Thanks,
    Amol

  • #2
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    Uppercase 'C' works, or did you mean lowercase?

  • #3
    New Coder
    Join Date
    Jul 2007
    Posts
    61
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Well the shortcut should work with the keyboard c button..

    that's all.

    Doenst work though


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •