IvanGarcete
asked on
Button that sends and gets AJAX message using JQuery
Hello, I need to create a button that sends a number to a PHP script and gets an answer to present in an alert window. How can I do this using JQuery?
Thanks.
Thanks.
ASKER
Yeah, that could work partially... How can I get and print a returned parameter from a PHP function inside the JQuery function?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yeah, but how do I capture the message from my php script? Is that "data"? How do I show data in an alert window?
http://www.howtoplaza.com/how-to-make-ajax-calls-with-jquery