HTML Table Manipulation

Alternating table row colors is a  approach that increases the readability in a Table. With the help of CSS we can get this done easily by using the ":nth-child() pseudo-class" with the keywords "even or odd"

This approach is often called the  "zebra striping" effect.

Senario:  To be able to access a particular cell <td></td> on one of the rows in HTML table. Using jQuery we can easily access a particular row and then target a cell of a HTML table easily by using the eq() traversal filter method and the :nt-child() pseudo-class  methods available.

Address

OpenSourceCook.in
"Natraj"  Bungalow,
Colony No.7,  Sr.No. 38.
(Lane Behind Sai Baba Mandir)
Kale Borate Nagar, Hadapsar,
Pune - 411028.
Get Directions