How to set dynamic background color using jquery?
<p>How to set dynamic background color using jquery.
I tried this. but, its not working</p>

<pre><code>e.g
function changeBackground(color) {
   $("#trid").css("background-color", color);
}
</code></pre>

<p>What is the right way of achieving this?</p>
