Suppose I have the following CSS in a linked style sheet:
td {background: -moz-linear-gradient(top, #fbfbfb, #fafafa);}
This makes all my table columns green.
Suppose I have the following table row:
<tr id="myRow"><td>stuff</td><td>more stuff</td></tr>
The whole row is green but following user input I want to do the following:
$("#myRow").children('td').css('backgroundColor', 'red');
Why won't this turn my row from green to red and how can I make that work without adding !important to my style sheets?