About the script in my page:AJAX Asynchronous JavaScript and XML.Q: why do u create an http_request_check? what 's the use ?A: the object http_request_check is an object through which we send our request to the server side. and with the
國內案例:·國家動態地圖網 http://www.webmap.cn/basicmap/index.php·百姓地圖 http://www.100map.com/·國家自然保護區http://www.emay.com.cn/nature/htdocs/Ka-map是一個Ajax概念的很好的MapServer前端工具官方網址http://ka-Map.MapTools.org 。ka-Map ("ka" as in ka-boom!) is an open source project
Q:does AJAX use still use a request/response model?A:Actually, your pages are still making request and getting responses. you 'are using a different approach in how you make those requests and handle the response--now you use javascirpt to make the
ajax architecture 1.Intitial XMLHttpRequest object and send the Request; 2. assign the process function for the request; 3.send out the http request; 4.process the return result from server.Ajax example:<script language="javascript"
js閉包(轉載)一、什麼是閉包? “官方”的解釋是:閉包是一個擁有許多變數和綁定了這些變數的環境的運算式(通常是一個函數),因而這些變數也是該運算式的一部分。 相信很少有人能直接看懂這句話,因為他描述的太學術。其實這句話通俗的來說就是:JavaScript中所有的function都是一個閉包。不過一般來說,嵌套的function所產生的閉包更為強大,也是大部分時候我們所謂的“閉包”。看下面這段代碼: function a() { var i = 0; function b() {