在用ajax发起请求时,少写了http://
如:http://192.*.*.*:8080 写成了192.*.*.*.8080 就会报这错
{
"readyState": 0,
"status": 0,
"statusText": "SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL"
}
在用ajax发起请求时,少写了http://
如:http://192.*.*.*:8080 写成了192.*.*.*.8080 就会报这错
{
"readyState": 0,
"status": 0,
"statusText": "SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL"
}