After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:AJAX - Create XMLHttpRequest object
使用XMLHttpRequest對(duì)象使得網(wǎng)頁(yè)應(yīng)用程序像windows應(yīng)用程序一樣,能夠及時(shí)響應(yīng)用戶與服務(wù)器之間的交互,不必進(jìn)行頁(yè)面刷新或者跳轉(zhuǎn),并且能夠進(jìn)行一系列的數(shù)據(jù)處理,這些功能可以使用戶的等待時(shí)間縮短,同時(shí)也減輕了服務(wù)器端的負(fù)載。
2016-11-230個(gè)贊
Courses in the relevant section:HTML 5 basics audio and video
<source src="" type="video/mp4"> src----音頻地址
2016-11-230個(gè)贊
Courses in the relevant section:jQuery - AJAX introduction and methods
編寫常規(guī)的 AJAX 代碼并不容易,因?yàn)椴煌臑g覽器對(duì) AJAX 的實(shí)現(xiàn)并不相同。這意味著您必須編寫額外的代碼對(duì)瀏覽器進(jìn)行測(cè)試
2016-11-230個(gè)贊
Courses in the relevant section:AJAX - Send a request to the server
open() 方法需要三個(gè)參數(shù): 第一個(gè)參數(shù)定義發(fā)送請(qǐng)求所使用的方法(GET 還是 POST) 第二個(gè)參數(shù)規(guī)定服務(wù)器端腳本的 URL(該文件可以是任何類型的文件 第三個(gè)參數(shù)規(guī)定應(yīng)當(dāng)對(duì)請(qǐng)求進(jìn)行異步地處理(true(異步)或 false(同步))
2016-11-230個(gè)贊
Courses in the relevant section:jQuery - noConflict() method
noConflict() 方法會(huì)釋放會(huì) $ 標(biāo)識(shí)符的控制,這樣其他腳本就可以使用它了。
2016-11-230個(gè)贊
Courses in the relevant section:JSONP Tutorial
Jsonp(JSON with Padding) 是 json 的一種"使用模式",可以讓網(wǎng)頁(yè)從別的域名(網(wǎng)站)那獲取資料,即跨域讀取數(shù)據(jù)。
2016-11-230個(gè)贊
Courses in the relevant section:AJAX - Server response
var response = ajax.request.responseXML.documentElement; var header = response.getElementsByTagName(’header’)[0].firstChild.data;
2016-11-230個(gè)贊
Courses in the relevant section:AJAX - onreadystatechange event
onreadystatechange 存儲(chǔ)函數(shù)(或函數(shù)名),每當(dāng) readyState 屬性改變時(shí),就會(huì)調(diào)用該函數(shù)。
2016-11-230個(gè)贊