I’m trying to create a page with an AJAX style form. Where on submit, the values in the form search and query a database and output the search results into the same DIV as the form was.
Any help would be much appreciated.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
jQuery is probably what you’re looking for…
The docs are straightforward. http://jquery.com/
Generally, jQuery follows the find something then do something approach.
case, clicking submit)
the query and return the results then insert the results where you
want on the page
http://api.jquery.com/jQuery.post/
Some other helpful jQuery commands for this task could be…
Hope this helps.