Posted on 2005-11-24 15:30
大阿福 阅读(229)
评论(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