1.

In <table> Design Change The Color Of Even <tr> Elements To “green” And Change The Color Of Odd <tr> Elements To “blue” Color? Give An Example Code?

Answer»

Below is the sample CODE snippet for this SCENARIO

$("TR:even").CSS('color','green')

$("tr:odd").css('color','blue')

Below is the sample code snippet for this scenario –

$("tr:even").css('color','green')

$("tr:odd").css('color','blue')



Discussion

No Comment Found