Hello,
i was reading some jquery articles here..You have a greate database of tutorials. Congratulations !
I was wondering on these few rows. You say:
/*
Lets the table with 5 rows have elements(0,1,2,3,4).
("tr:gt(3)") will gives rows 3 & 4.
("tr:lt(3)") will gives rows 0 & 1.
*/
The way i understand this filter I would say that
("tr:gt(3)") will dive me rows grater then 3, in fact the only one with index grater than 3 is 4.
AND
("tr:lt(3)") will give me rows 2,1 and 0.
Am i mistaken ????
Meanwhile have a nice day and again thanks a lot for your tutorials.
questiontanya July 13, 2012 at 7:20 PM
Hello, i was reading some jquery articles here..You have a greate database of tutorials. Congratulations ! I was wondering on these few rows. You say: /* Lets the table with 5 rows have elements(0,1,2,3,4). ("tr:gt(3)") will gives rows 3 & 4. ("tr:lt(3)") will gives rows 0 & 1. */ The way i understand this filter I would say that ("tr:gt(3)") will dive me rows grater then 3, in fact the only one with index grater than 3 is 4. AND ("tr:lt(3)") will give me rows 2,1 and 0. Am i mistaken ???? Meanwhile have a nice day and again thanks a lot for your tutorials.
Post your Comment