200603301018AJAX深度歷險6-AJAX基本流程圖
now ,I will show you the AJAX basic flow map.
- Whether the XMLHttpRequest object create
↓ - open method (the POST and the GET, the URL, same period or the asynchronism which is requested and so on appointment)
↓ - send method (data transmission)
↓
< Server side >
↓ - the onreadystatechange event (other than the ie the call-back also the onload can use (sending and receiving state changes, the event which is started)
↓ - the readyState property (the value which displays sending and receiving state, with 4 completion of reception. If onload unnecessary.
↓ - responseText or responsecXml property (reception data)
回應