jQuery :odd Selector
jQuery :odd Selector
The :odd selector is used to selecting each element with an odd index number like 0, 2, 4, 6, 8, etc. As we know, the index number starts from 0. It is used with another selector to select its odd indexed elements.
Syntax:-
Its syntax is:- $(":odd");