When sending data via POST or GET with jQuery you use for format { name:"value" }
so i thought, is there a way to do it with this kind of code:
var postdata = array();
postdata['name'] = "data";
$.post("page.php", postdata, function(data)
{
alert(data);
}
I tried this, and it doesn't seem to work. Is there a proper way to do this?