Add textbox value to listbox on tab
<p>II am working website which is  going to be accessed by a motorola device(scanner) but the functionality needs to be same a normal/usual website. On one of the page I have a textbox -> productID and listbox which can have multiple productID. Now when the focus is on textbox and it scans the productID ,the scanner returns a tab,now after this happens I need to add the textbox value to the listbox and empty the textbox and set focus on the textbox. I also should be able to delete a productId from the list.How can I achieve this using Jquery?</p>

<pre><code>&lt;table style=" width:220px;"&gt;
        &lt;tr&gt;
            &lt;td style=" width:120px;"&gt;cost&lt;/td&gt;
            &lt;td style=" width:100px;"&gt;&lt;asp:TextBox ID="txt_cost" runat="server"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style=" width:120px;"&gt;Product ID&lt;/td&gt;
            &lt;td style=" width:100px;"&gt;&lt;asp:TextBox ID="txt_ProdID" runat="server"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style=" width:120px;"&gt;List of ProductID&lt;/td&gt;
            &lt;td style=" width:100px;"&gt;&lt;asp:ListBox ID="lst_ProductId" runat="server"&gt;&lt;/asp:ListBox&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style=" width:120px;"&gt;&lt;asp:Button ID="btn_Update" runat="server" Text="Update" /&gt;&lt;/td&gt;
            &lt;td style=" width:100px;"&gt;&lt;asp:Button ID="btn_Remove" runat="server" Text="Remove" /&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
</code></pre>
