How to interact with database by using jQuery

I have an annoying problem. I use the autocomplete extender provided by ASP.NET in my Web Forms application written in C#. The autocomplete works good, no problem.

I use the autocomplete with the serial_number textfield. If I want to fill in the product_name textfield based on what serial_number I have chosen I need to interact with the database.
That is because the Web Method that provides data to the autocomplete must have a specific signature and its output parameters is an array of strings.

Therefore once the serial_number is selected, I need to call a jQuery function that given the selected serial_number gets the corresponging product_name from the database (SQL Server).

Any suggestion? Thanks

newest questions tagged jquery – Stack Overflow

About Admin