Accessing 2 values from jquery and setiing those values to different variable
<p>using html,jquery,and jsp 
using autocomplete am fecting name from my database using jsp and jquery,
input in textbox t1: if i press A it will fetch all the data starts from A from my database and displays in drop down 
through this function am sending my input to jsp </p>

<pre><code>&lt;script&gt;  
jQuery(function(){
$("#empName").autocomplete("list.jsp");
});
&lt;/script&gt;
</code></pre>

<p>i can able to set only empname value in my html inputbox through that function, my requirement is to set employeename in textbox t1 and employee id in  textbox t2, </p>

<p><strong>in jsp</strong> </p>

<pre><code>String strAssigneeName = rs.getString("em_first_name")+" ID "+rs.getString("em_emp_id");
                                if(strAssigneeName.toLowerCase().startsWith((suggetsword)))
                                {
                                 %&gt;

                                &lt;%=strAssigneeName%&gt;

                                &lt;% 
</code></pre>

<p>this is working fine it is able to fetch employee name as well as employee id, but while displaying both value is coming in single textbox t1,
how can i access this two values in two different text boxs using jquery</p>
