title: Change tr background-color
body: <p>I have something like this:</p>
  
  <pre><code>&lt;tr id='&lt;%=currentRow %&gt;' onclick="SetBackgroundColor(this)" style="background-color:Yellow"&gt;
  </code></pre>
  
  <p>When i click on a row i want to change its background color and i did like this:</p>
  
  <pre><code>function SetBackgroundColor(rowId) 
  {
       $(rowId).css("background-color", "#000000");
  }
  </code></pre>
  
  <p>but i don't know why it doesn't work. Any suggestions please?</p>