jQuery :nth-of-type() Selector
Learn all about the jQuery function :nth-of-type() Selector.
Because jQuery’s implementation of
:nth- selectors is strictly derived from the CSS specification, the value of
n is "1-indexed", meaning that the counting starts at 1. For other selector expressions such as
Further discussion of this usage can be found in the W3C CSS specification.