$.AJAX与xmlhttprequest互转
自己踏过的坑,终于搞懂了:$.ajax({type: “POST”,url: “/user/saveShuoshuo”,data:{nicheng:name,content:txt,time:nowTime},dataType: “json”,// success: function(data){}//error:window.location.reload()})等价于...