Jquery Ajax 不走请求.该怎么解决
Jquery Ajax 不走请求....RT...Goole浏览器好使,FF不走请求...$.ajax({url:${pageContext.request.contex
Jquery Ajax 不走请求....
RT...Goole浏览器好使,FF不走请求...
$.ajax({
url:'${pageContext.request.contextPath }/healthMenu.action?wm.submitFlag=toHealthList',
type: 'POST',
dataType: 'json',
data: {uuidHex:id},
success: function(json){
alert(json);
}
});
在线等...
[解决办法] $.ajax({
url: '${pageContext.request.contextPath }/healthMenu.action?wm.submitFlag=toHealthList',
type: 'POST',
dataType: 'json',
data: { uuidHex: id },
success: function (json) {
alert(json);
},
error: function (xhr) {alert(xhr.responseText) }
});
加error回调看输出什么