jquery - working backwards
<p>I was able to set the focus of a table element by using the following code:</p>

<pre><code>document.getElementById($('#' + ListBoxVal + ' tr:eq('+lstRow+')')
        .attr('id')).focus();
</code></pre>

<p>I was able to verify that the id of the tr is in fact the correct id:</p>

<pre><code>console.log($('#' + ListBoxVal + ' tr:eq('+lstRow+')').attr('id'));
</code></pre>

<p>What I need to do is get the actual HTML of that tr of the id I'm on..</p>

<p>Basically using some variation of this code, I need the html of the tr element:</p>

<pre><code>console.log($('#' + ListBoxVal + ' tr:eq('+lstRow+')').attr('id')); 
</code></pre>

<p>But I only need the beginning <code>&lt;tr&gt;</code> html.  I don't need the <code>&lt;td&gt;</code> or the closing <code>&lt;/tr&gt;</code>.</p>

<pre><code>&lt;table&gt;
  &lt;tr id='123'&gt;
    &lt;td&gt;1&lt;/td&gt;
    &lt;td&gt;2&lt;/td&gt;
    &lt;td&gt;3&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr id='abc'&gt;
    &lt;td&gt;a&lt;/td&gt;
    &lt;td&gt;b&lt;/td&gt;
    &lt;td&gt;c&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>So I would only want the <code>&lt;tr id='123'&gt;</code> for example.</p>
