Hello, I'm an ASP newbie. I'm learning how to make an auto suggestion textbox but I just can get data from a fixed array. Could you show me how to get data from SQL server to put in the textbox? Thank you so much.
Don't use ASP and regular ajax to do this. It is a waste of coding. Use jQuery.
jQuery uses a simple $.ajax command to synchroniously gather DB information. jQuery is a new language created out of javascript.
Visit http://www.jquery.com to learn how to go about doing this.
Also w3schools gives a little insight how to do HTTP suggestions here:
http://w3schools.com/ajax/ajax_example_suggest.asp
Good Luck!
Don't use ASP and regular ajax to do this. It is a waste of coding. Use jQuery.
jQuery uses a simple $.ajax command to synchroniously gather DB information. jQuery is a new language created out of javascript.
Visit http://www.jquery.com to learn how to go about doing this.
Also w3schools gives a little insight how to do HTTP suggestions here:
http://w3schools.com/ajax/ajax_example_suggest.asp
Good Luck!
Don't use ASP and regular ajax to do this. It is a waste of coding. Use jQuery.
jQuery uses a simple $.ajax command to synchroniously gather DB information. jQuery is a new language created out of javascript.
Visit http://www.jquery.com to learn how to go about doing this.
Also w3schools gives a little insight how to do HTTP suggestions here:
http://w3schools.com/ajax/ajax_example_suggest.asp
Good Luck!