jQuery lt Selector

Last Updated Jul 21, 2015, 12:00:06 PM





jQuery lt Selector

jQuery :lt selectoris used to select all elements which are less than the given index.

Syntax
Example

The above example will select all the td elements which has the index as less than 5


Output

Try It Now
Other Advanced jQuery Selectors you might want to learn
jQuery Complete Selectors Reference

jQuery Selectors

jQuery Basic Selectors

jQuery Child Selectors

jQuery Content Filter Selectors


Sources and Credits

The content and methods in the tutorial has been referred and updated with jQuery API and The jQuery Foundation

Last Updated Jul 21, 2015, 12:00:06 PM