Ajax Call Using Jquery

Syntex:
$.post(url?fistpost='+valueofirstpost+',{fistpost:"+valueofirstpost+"},
function($data){});

Note :
data : is the value from ur post url file

the fist parameter value be defined in the {} this is mandatory


Ex:
$.post(url?dateRangeValue="+ dateRangeValue +"&task=range", {dateRangeValue: ""+dateRangeValue+""}, function(data){
$('#divid').html(data); });

No comments: