Fill the rest Textbox values as per the entered value in Textbox1

Posted by Sathya4260 under jQuery on 3/3/2011 | Points: 10 | Views : 2437 | Status : [Member] | Replies : 4
Hi,

I am using jQuery,

When i enter the no. or digit in textbox1 (textchange), then the other data would be get from the DB (sql server) and the fill the text box data next to it,

Kindly advice me how to complete this ASAP...

Thanks in advance..

Sathish Kumar S


Responses

Posted by: Naimishforu on: 3/3/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

Your requirement is not clear, you want to use jQuery to trigger the fetching data from Database??

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Sathya4260, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sathya4260 on: 3/3/2011 [Member] Starter | Points: 25

Up
0
Down
Yes


Sathish Kumar S

Sathya4260, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 3/3/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Sathya,

I am giving some approach to solve your problem.

You can read this article http://www.dotnetfunda.com/articles/article971-aspnet-gridview--jquery-tips-and-tricks--part-2-.aspx that helps you to understand how to retrieve data from server using jQuery ($.post method). Once you are able to get the value from the database to the page, you will need to use jQuery selectors to populate the data into the TextBox.

If you are not familiar with jQuery, read this article http://www.dotnetfunda.com/articles/article1137-what-is-jquery-and-how-to-start-using-jquery-.aspx and this free tutorials http://www.dotnetfunda.com/tutorials/jquery/ that should give you enough idea and knowledge to work with jQuery.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Sathya4260, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 3/3/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Try the link below, it has the code to fetch the data from DB using jquery

http://stackoverflow.com/questions/2047838/how-to-retrieve-data-from-database-through-jquery

Thanks
Karthik
www.f5Debug.net

Sathya4260, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response