Accessing a text box inside table row using javascript
<p>I am using the following code</p>

<pre><code>&lt;tr id="row"&gt;
&lt;td&gt;&lt;input type="text" name ="first" id="first" onclick="goto("row")"/&gt;
&lt;/td&gt;
&lt;td&gt;&lt;input type="text" name ="second" id="second"/&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;script&gt;
function goto(row)
{
var row=document.getElementById("row");

}
&lt;/script&gt;
</code></pre>

<p>here in the goto() function i am getting the table row by using id.I need to get the second  text box inside this row when i clicking the first text box.How can i get the second text box using the  table row id. Any idea ?.</p>
