var xhr = new XMLHttpRequest();
xhr.open("GET", url, true);
xhr.onreadystatechange = receiveResponse;
xhr.send();
"true"매개 변수는 개체가 비동기 적으로로드된다는 것을 의미합니까? 그렇지 않은 경우 "true"가 구체적으로 무엇을합니까?XMLHttpRequest 태그
var xhr = new XMLHttpRequest();
xhr.open("GET", url, true);
xhr.onreadystatechange = receiveResponse;
xhr.send();
"true"매개 변수는 개체가 비동기 적으로로드된다는 것을 의미합니까? 그렇지 않은 경우 "true"가 구체적으로 무엇을합니까?XMLHttpRequest 태그
예, true
값은 요청이 비동기임을 나타냅니다. 여기 http://www.w3schools.com/ajax/ajax_xmlhttprequest_send.asp
W3 링크입니다 : http://www.w3.org/TR/XMLHttpRequest/#the-open-method
이 [설명서를 읽기]로 대답 할 사소한 (http://www.w3.org/TR/ 여기에 W3Schools의 페이지에 링크입니다 XMLHttpRequest/# the-open-method) 또는 [참조 읽기] (https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#open%28%29)를 참조하십시오. – Quentin
직접 찾아보십시오. https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#open() – j08691