ajax表单异步提交

前端之家收集整理的这篇文章主要介绍了ajax表单异步提交前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
varformData=$("#inputForm").serialize();
//console.log(JSON.stringify(formData));
$.ajax({
type:'post',url:'${pro}/wap/center/updateInfo2',dataType:'json',data:formData,success:function(data){
alert("保存成功");
}
});
原文链接:https://www.f2er.com/ajax/161551.html

猜你在找的Ajax相关文章