hi, i want to load JUST one part of my document,i had to use LOAD function bcause of this,so i tried this function.but i have a problem,i want to set method of this function to POST.i read in jquery manual that this function is using GET method by default,but if your data is an object it will use POST method.i dont know how to do that?i mean using an object in data list!
here is my code :
$("#form_next").live("click", function(event){
var str = $("#form").serialize();
$("#form").load("form.php?ajax=y§ion=request&cid="+$("#country_id").val(), str, function(response, status, xhr) {
alert(response);
});
return false;
});
how can i do that?