forked from miketaylr/autofocus
A jQuery plugin to enable cross-browser usage of the HTML5 autofocus property.
estelle/autofocus
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
HTML5 autofocus plugin v0.2* Copyright (c) 2009, Mike Taylor, http://miketaylr.com MIT Licensed: http://www.opensource.org/licenses/mit-license.php NOTE: As per the spec, only one element is permitted to have the autofocus attribute, hence no .each() http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#autofocusing-a-form-control USAGE: $("[autofocus]").autofocus(); Thanks to paul_irish and temp01 for feedback and improvement suggestions.
About
A jQuery plugin to enable cross-browser usage of the HTML5 autofocus property.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%