"SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL" 這個(gè)是谷歌調(diào)試看到的異常以下是我的ajax代碼··$.ajax({method:"post",type:"POST",url: ":8080/skproject/SysLocationInfoController/testEntityData.json",data:{"sysUserInfo.user_nm":username, "sysUserInfo.pwd":password},datatype:"json",success:function(data){alert("成功了");},error:function(error){alert(error);}}); ··注:我的URL貼到瀏覽器里可以正常工作進(jìn)后臺(tái)。
添加回答
舉報(bào)
0/150
提交
取消