User810354248 posted
I have a text box in my asp.net+VB=SQL database web.
bidtxt.text is the textbox name.
I use barcode scanner to insert the id to serach the data in bidtxt.text
i wanted to remove the text inside the text box on another search. I used the below code.
<asp:TextBox ID="bidtxt" onChange="newobjCompute()" onFocus="this.value=''; return false;" runat="server" Width="300px" ToolTip="Box ID" AutoPostBack="True"></asp:TextBox>
It works only when i ckick on any other area in page and again click on text box it gets deleted.
But i am not using any other option in this page. I want to search with barcode scanner and on another clikc on search the text box should be empty.
any more idea on this