Jquery ajax simple structure sample code

  • 2020-03-30 01:45:13
  • OfStack

 
$.ajax({ 
type: "POST", 
url:url, 
async:false, 
data: param, 
contentType:"json", 
success:function(date){ 
if(date.success){ 
} 
}, 
error:function(date){ 
} 
}); 

Related articles: