Noob Ajax question
Noob Ajax question
(OP)
Being brand new to Ajax and a beginner to JS, I cannot locate the resources that will teach me how to do what I wish to do.
I have a form with three fields. One is a dropdown, one is a radio button, and the last is a text field. I want to be able to, using onchange, send the three values to a processing(Ajax) page, use the value of one of the fields to obtain data from a database, use that result and perform a calculation using the other two field data, and send the result back to the first page. I want this to happen on the fly and without clicking a submit button. Is this possible??
Would it be better to use just JS for this??
Any help or direction would be greatly appreciated.
Penguin
I have a form with three fields. One is a dropdown, one is a radio button, and the last is a text field. I want to be able to, using onchange, send the three values to a processing(Ajax) page, use the value of one of the fields to obtain data from a database, use that result and perform a calculation using the other two field data, and send the result back to the first page. I want this to happen on the fly and without clicking a submit button. Is this possible??
Would it be better to use just JS for this??
Any help or direction would be greatly appreciated.
Penguin
Thanks,
Penguin
Please keep in mind that I am using classic ASP with MySQL database. Not sure if that information helps or not.
RE: Noob Ajax question
I would suggest that you use your favorite search engine using the search terms jquery ajax tutorial asp. There are many tutorials.
jQuery is a generic term for a large family of libraries, most open source, that implement user interface widgets. And, most of these libraries have samples. If you have decent Javascript skills, you should have no problems finding and implementing the user interface effects you desire.
Tom Morrison
Consultant
RE: Noob Ajax question
RE: Noob Ajax question