title: how to focus a table cell using javascript?
body: <p>VB script statement ,</p>
  
  <p><code>Set oHighlightedRow = document.all("SearchRow" &amp; nHighlightedRow)</code>
  <code>oHighlightedRow.cells(0).focus()</code></p>
  
  <p>These two statments need to be converted to javascript.anyone can help me to find a solution? 
  Thanx</p>
  
  <p>My converted code was,</p>
  
  <pre><code>var oHighlightedRow = $("#SearchRow" + nHighlightedRow);
  oHighlightedRow.cells[0].focus();
  </code></pre>
  
  <p>Is this correct ?</p>