Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cowboy/jquery-untils
jQuery Untils: nextUntil, prevUntil, parentsUntil
https://github.com/cowboy/jquery-untils
Last synced: about 1 month ago
JSON representation
jQuery Untils: nextUntil, prevUntil, parentsUntil
- Host: GitHub
- URL: https://github.com/cowboy/jquery-untils
- Owner: cowboy
- License: gpl-2.0
- Created: 2009-12-01T15:47:01.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2010-02-19T01:57:17.000Z (over 14 years ago)
- Last Synced: 2024-04-14T22:47:02.066Z (7 months ago)
- Language: JavaScript
- Homepage: http://benalman.com/projects/jquery-untils-plugin/
- Size: 234 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE-GPL
Awesome Lists containing this project
README
# jQuery Untils: nextUntil, prevUntil, parentsUntil #
[http://benalman.com/projects/jquery-untils-plugin/](http://benalman.com/projects/jquery-untils-plugin/)Version: v1.1, Last updated: 2/18/2010
jQuery Untils provides three very simple, but very useful methods: nextUntil, prevUntil, and parentsUntil. These methods are based on their nextAll, prevAll, and parents counterparts, except that they allow you to stop when a certain selector is reached. Elements are returned in "traversal order".
**As of jQuery 1.4, these methods are now included in jQuery core! See the patch as well as the official documentation on the
.prevUntil,
.nextUntil and
.parentsUntil methods.**Note that these methods take a less naïve approach than others bearing the same names, and are designed to actually return elements in traversal order, despite the element ordering flaws inherent in the jQuery 1.3.2 selector engine.
Visit the [project page](http://benalman.com/projects/jquery-untils-plugin/) for more information and usage examples!
## Documentation ##
[http://benalman.com/code/projects/jquery-untils/docs/](http://benalman.com/code/projects/jquery-untils/docs/)## Examples ##
These working examples, complete with fully commented code, illustrate a few
ways in which this plugin can be used.[http://benalman.com/code/projects/jquery-untils/examples/nextuntil/](http://benalman.com/code/projects/jquery-untils/examples/nextuntil/)
[http://benalman.com/code/projects/jquery-untils/examples/prevuntil/](http://benalman.com/code/projects/jquery-untils/examples/prevuntil/)
[http://benalman.com/code/projects/jquery-untils/examples/parentsuntil/](http://benalman.com/code/projects/jquery-untils/examples/parentsuntil/)## Support and Testing ##
Information about what version or versions of jQuery this plugin has been
tested with, what browsers it has been tested in, and where the unit tests
reside (so you can test it yourself).### jQuery Versions ###
1.3.2### Browsers Tested ###
Internet Explorer 6-8, Firefox 2-3.7, Safari 3-4, Chrome 4-5, Opera 9.6-10.1.### Unit Tests ###
[http://benalman.com/code/projects/jquery-untils/unit/](http://benalman.com/code/projects/jquery-untils/unit/)## Release History ##
1.1 - (2/18/2010) Fixed an issue that occurred when until\_selector and each\_selector were mutually exclusive. In the process, simplified plugin logic substantially.
1.0 - (12/1/2009) Initial release## License ##
Copyright (c) 2010 "Cowboy" Ben Alman
Dual licensed under the MIT and GPL licenses.
[http://benalman.com/about/license/](http://benalman.com/about/license/)