Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I need to use jQuery and complete the below task kindly help me to solve this,

When I enter a number or digit in textbox1 the relevant data would be fetched from the DB (SQL Server) and filled into the text box(data) next to it.

For example:

If the user enters a student's id 10 into the textbox the student's name,address need to be filled automatically into the textbox next to it. Right now I am using text_Change event to solve this and it works. I thought to do this with auto complete in jQuery, but when I enter the number 10, I would display number starting with 10 and I need to select from the list so this option won't suit me.

So kindly advice me how to complete this. ASAP...

Thanks in advance!
Posted
Updated 7-Mar-11 22:22pm
v3
Comments
Sunasara Imdadhusen 8-Mar-11 3:27am    
Did you try anything before?

1 solution

http://af-design.com/blog/2010/05/12/using-jquery-uis-autocomplete-to-populate-a-form/[^]
I hope the above information will be helpful. If you have more concerns, please let me know.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900