i want to select element that its index is greater than 3 and less than 6
ex: $("td:gt(3)")
and $("td:lt(6)")
?
The :gt() selector selects elements with an index number higher than a specified number. The index numbers start at 0.
gt selectorversion deprecated: 3.4 Description: Select all elements at an index greater than index within the matched set.
make use of slice(start, end)
$('td').slice(3,6)
documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With