how can i get all field when click on record
<p>I need to insert a value into the text input when a user selects a record, and I don't know if it's possible or not.</p>

<p>Here is my code: </p>

<pre><code>   &lt;table border="2" cellspacing="3"&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;input  type="checkbox" id="select" /&gt;&lt;/td&gt;
        &lt;td&gt;Hello&lt;/td&gt;
        &lt;td&gt;World&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;&lt;input type="checkbox" id="select" /&gt;&lt;/td&gt;
        &lt;td&gt;vvvv&lt;/td&gt;
        &lt;td&gt;vv&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;input type="checkbox" id="select" /&gt;&lt;/td&gt;
        &lt;td&gt;vvv&lt;/td&gt;
        &lt;td&gt;Wvvvvorld&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;

&lt;input type="text" name="kkk" id="kkk"/&gt;
&lt;input type="text" name="kkk" id="kkk"/&gt;
</code></pre>

<p>and JavaScript shows:</p>

<pre><code>$(document).ready(function(){
    $("table tr td input").click(function(){
        $("#kkk").html($(this).text());
    });
});
</code></pre>
