I want to have a jQuery script that recieves the return of an php script that made a database request with $.post("script.php", args) the request is started, but how to handle any answer?
I want to have a jQuery script that recieves the return of an php
Share
You should really read these tutorials before jumping into something
Answer to your question
jQuery post takes parameters like below
A typical jquery post request with certain parameters, expecting the results from a php file(test.php in this case) in XML format would be like the below
Hope this helps.