$.ajax({ type: 'POST', url: url, dataType: 'json', data: { contacts: contacts, mobile: mobile, content: content, checkcode: checkcode }, success: function(response, status) { //成功操作 }, error: function(xhr, status, error) {
//失败操作 alert('网络异常,请稍后重试'); } });
标签:status,content,checkcode,contacts,function,语法,ajax From: https://www.cnblogs.com/romanticcrystal/p/17546544.html