Test question:
$(document).ready(function(){ $("tr:gt(0):lt(2)").css("background-color","#B2E0FF"); });
If the positions of gt() and lt() are swapped, the displayed results will be different! ~
Putting lt() in front is the result I want, but putting gt() in front is a pitfall.
The following code comes from w3cshool. My project jquery1.8.2.js also has similar problems.
Looking forward to the master explaining the reason for this. .