日期:2014-05-16  浏览次数:20641 次

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回调看输出什么