YSLOW性能測試前端調優23大規則(14)AJAX使用Get請求

當AJAX將客戶端請求發送到服務器時,我們會使用XMLHttpRequest對象的open()和send()方法。 open(method,url,async) 例:xmlhttp.open(「GET」,「chuansinfo.txt」,true) send(string); 例:xmlhttp.send(); 其實中method是指請求類型,通常我們的請求類型有兩種:GET和POST。 在我們分
相關文章
相關標籤/搜索