14,953
edits
(Created page with "<< Accessibility If the {{kbd | key=submit/reset}} buttons were replace with the {{kbd | key=a/div}} blocks. Before: <pre> <input type='text' name='text1'> <br /> <input...") |
No edit summary |
||
| Line 22: | Line 22: | ||
* press {{kbd | key=enter}} key to submit the form in any input box. | * press {{kbd | key=enter}} key to submit the form in any input box. | ||
used functions: | |||
* [http://jquery-howto.blogspot.tw/2013/08/jquery-form-reset.html jQuery Howto: jQuery Form Reset] | * [http://jquery-howto.blogspot.tw/2013/08/jquery-form-reset.html jQuery Howto: jQuery Form Reset] | ||
* [http://api.jquery.com/submit/ .submit() | jQuery API Documentation] | * [http://api.jquery.com/submit/ .submit() | jQuery API Documentation] | ||
* [http://api.jquery.com/keypress/ .keypress() | jQuery API Documentation] {{exclaim}} <span class="code" style="font-family: source-code-pro, Consolas, monospace !important; word-spacing: 0; padding: 0 3px; background-color: rgba( 0, 0, 0, .1 ); border-radius: 3px;">keypress</span> event works on div element but not a element. | * [http://api.jquery.com/keypress/ .keypress() | jQuery API Documentation] {{exclaim}} <span class="code" style="font-family: source-code-pro, Consolas, monospace !important; word-spacing: 0; padding: 0 3px; background-color: rgba( 0, 0, 0, .1 ); border-radius: 3px;">keypress</span> event works on div element but not a element. | ||
further reading: | |||
* [http://www.w3schools.com/tags/att_global_tabindex.asp HTML Global tabindex Attribute] | |||
* [http://htmldog.com/guides/html/advanced/forms/ Accessible Forms | HTML Dog] | |||