A simple script to select, and then add striping to table rows:
$(‘tr:odd td’).css(‘background’,'#yourcolor’);
This entry was posted on Wednesday, April 7th, 2010 and is filed under jQuery.
A simple script to select, and then add striping to table rows:
$(‘tr:odd td’).css(‘background’,'#yourcolor’);
“Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering”
—Master Yoda
I'm a web designer and writer based out of Nashville, TN, where I live with my husband, step-daughter, and chihuahua.
moonkatcreations at gmail dot com