ajax
2021-07-11 16:05
标签:str 失败 func ajax alert var lis mod ati $(‘#doneBtn1‘).click(function(){ var smsContent = $(‘#smsContent‘).val(); var phonoNum = $(‘#phonoNum‘).val(); var url = "../syslog/syslog!sendAgain.action"; var data = { "smsContent" : smsContent, "phonoNum" : phonoNum } $.post(url,data,function(rs){ var data = JSON.parse(rs); if(data.success == true){ alert("发送成功!"); location.href="http://www.soscw.com/syslog/syslog!toModelList.action"; }else{ alert("发送失败!"); } },‘json‘) }); ajax 标签:str 失败 func ajax alert var lis mod ati 原文地址:http://www.cnblogs.com/yl514/p/7086254.html