here is my script
I am playing with jQuery Ajax form submit, without success. All I got to my ajax query is an empty result. You can check my code from the source. I don’t copy it here, because it is long, I hope it’s not problem.
I am trying to get response from send.php.
PHP code is simple:
return $_POST['field2'].$_POST['field1'].$_POST['m'];
In the PHP code, Instead of
returnuseecho.returnshould only be used in a function to return a variable whileechocan actually print the string for use by JS.