title: Highlight row when clicked on button
body: <p>I am using following script to highlight row when I clicked edit button of that row. I am passing Id of row when I click on button! My problem is the code is working in Mozila Firefox but not on Google Chrome. What is wrong in following code.</p>
  
  <pre><code>function high(id)
  {
      $('tr').removeAttr('style'); 
      document.getElementById(id).style="background-color:#eeeeea;color:#000000;font-weight:500;";
  }
  </code></pre>