close
var xhr = new XMLHttpRequest();
xhr.open('get', "http://www.tpml.edu.tw/") ;
xhr.send() ;
xhr.onload = function() {
console.log(xhr.responseText) ;
}
回應 Failed to load http://www.tpml.edu.tw/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
文章標籤
全站熱搜