jQuery gt Selector

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

jQuery gt Selector

jQuery :gt selectoris used to select all elements which are greater than the given index.

When there are many similar HTML elements you can select specific element(s) which are greater than some specific index.


In the above example jQuery :gt selector targets the specifictd element, which is greater than 3 Third td element.

jQuery :gt selector
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