ExpertRefresh

Element / Get by index  

1) Change cell color, index > 3







<script src=""></script> <table border=1 cellpadding=10><tr><td>0</td><td>1</td><td>2</td><td>3</td></tr></table> <script> $('td:gt(0):lt(2)').css("background", "red"); // 1,2 red $('td:eq(3)').css("background", "green"); // 3 green </script>


References



n/a