Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damian/jquery.tabbable
Augments jQuery with a :tabbable selector to retrieve all tabbable elements.
https://github.com/damian/jquery.tabbable
Last synced: 13 days ago
JSON representation
Augments jQuery with a :tabbable selector to retrieve all tabbable elements.
- Host: GitHub
- URL: https://github.com/damian/jquery.tabbable
- Owner: damian
- License: mit
- Created: 2013-03-16T21:51:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-17T23:21:57.000Z (over 11 years ago)
- Last Synced: 2024-08-01T16:36:44.773Z (3 months ago)
- Language: JavaScript
- Homepage: http://damiannicholson.com
- Size: 27.4 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# jQuery Tabbable
Augments jQuery with a `:tabbable` selector to retrieve all tabbable elements within a given context.
## Getting Started
Download the [production version][min] or the [development version][max].[min]: https://raw.github.com/damian/jquery.tabbable/master/dist/jquery.tabbable.min.js
[max]: https://raw.github.com/damian/jquery.tabbable/master/dist/jquery.tabbable.jsIn your web page:
```html
Name
Surname
jQuery(function($) {
// Returns all tabbable elements
$('form').find(':tabbable'); // [ 'input', 'input', 'a[href]', 'button' ]
});```
## Documentation
This is generated using YUIDoc and can be found in the **docs** folder.## Examples
```javascript
$(function() {
$('form').find(':tabbable');$('form').find(':input').filter(':tabbable');
});
```## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/cowboy/grunt)._Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "src" subdirectory!_
## Release History
* 0.0.3 - Upgraded to Grunt 0.4.x. Also added YUIDoc to serve the documentation
* 0.0.2 - Updated the project with documentation and added it to plugins.jquery.com
* 0.0.1 - Set up the original project using Grunt 0.3.x## License
Copyright (c) 2013 Damian Nicholson
Licensed under the MIT license.