error in send with post method

A

Anonymous

Guest
Hi,
In your code there is a small mistake. When you sending the parameters should have the name with values,

your code

Code:
var x=25;
xmlhttp.send(x);

proper code

Code:
var parameter = "x=25";
xmlhttp.send(parameter);

you have to mention the x variable in string and pass the whole set then it will work.
 
Back
Top