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?
You could use a jQuery plugin called hotkeys. Look here: http://code.google.com/p/js-hotkeys/ I use this on http://www.studenten-vermittlung.com If you press b you come to the "Bewerber-Portal" (German website) If you press p or g you come to another site.