Posted on 2005-11-24 15:30
大阿福 閱讀(234)
評論(0) 編輯 收藏
The idea is simple:
- Mark "reload-capable" zones of a web page with AjaxAnywhere custom tags.
- Instead of submitting a form in traditional way, do it by AjaxAnywhere javascript API.
- During request processing on the server-side, determine the zones to refresh. (You can implement this logic either on the client-side via JavaScript or on the server-side, via AjaxAnywhere API.)
- On the server-side AjaxAnywhere will generate an XML containing only the "updated" HTML.
- On the client-side AjaxAnywhere javascript will receive the XML, parse it and update the selected zones.


文章來源:
http://spaces.msn.com/members/toafu/Blog/cns!1plxDUDpUlZ9XwwHH1v6x0Hw!318.entry