MemoryRefresh!

Element / Get by index     Get by index



Questions 1 Answers 0%

Pages   0 from 16
Questions   0 from 21

Reset



<script src="code.jquery.com"></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> api.jquery.com
1) Change cell color, index > 3








<script src="code.jquery.com"></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> api.jquery.com





Programming

Php
   
Regex
   
MySQL
   
Css
   
jQuery
   
Git
   


References
n/a