HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
jQuery Selectors : Select the 4 first <tr> elements
The :lt() selector selects elements with an index number less than a specified number.
The index numbers start at 0.
This is mostly used together with another selector to select the first elements in a group (like in the example above).
Parameter | Description |
---|---|
index | Required. Specifies which element to select. Elements with an index lesser than the specified number is selected. |