Activate button without use mouse

Discussion in 'HTML & Website Design' started by piropeator, Aug 11, 2010.

  1. #1
    I have this form:
    <html>
    <body>
    <form action="carrito.php" method="post">
          Input name:<input type="text" name="nombre"/></br></br>
          <input type="submit" name="agrega" value="Agregar">
          <input type="button" name="borra"  value="Borrar"  onClick="parent:location='proc1.php'">
          <input type="button" name="cambia" value="Cambiar" onClick="parent:location='proc2.php'">
    </form>
    </body>
    </html>
    HTML:
    But I want to activate the buttons using only keyboard, and put underline a first capital letter.
    For example:
    the button "Agregar", y want to activate using Alt+A.
    the button "Borrar", y want to activate using Alt+B.
    the button "Cambiar", y want to activate using Alt+C.
    How do that?
     
    piropeator, Aug 11, 2010 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #2
    CSM, Aug 11, 2010 IP