I want to get rid of my html form submits and replace them by Ajax ( X M L H t p Request). I have set the form return value to "false" and I have written a small test to test the Ajax mechanism. At the Java script side I do receive the ready state 4 and status 200, so sending data succeeds apparently, but at the PHP side the variables never arrive.
I try to pick them up the usual way with the POST method, the same way like I did before when receiving html submits, of which the simplified form is:
$x = $_POST['x']; echo $x;
'x' having been sent with Ajax, state 4 , status 200.
Can anyone tell what am doing wrong? Thanks a lot.