文件名称:aspjzgd_v1.1
-
所属分类:
- 标签属性:
- 上传时间:2015-06-28
-
文件大小:40.51kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
我们在腾讯网站等一些评论栏目上可以看到这样的应用,列表没有使用分页条,而是一次加载一定数量的记录显示在列表页,当用户浏览到列表页底部时,可以通过单击“加载更多”来查看更多记录。有网友反映数据量大时,加载速度慢,这一版本改变了后台读取方式,加快了输出速度。
原理:页面载入时,jQuery向后台请求数据,ASP程序通过查询数据库将最新的几条记录显示在列表页,在列表页的底部有个“更多”链接,通过触发该链接,向服务端发送Ajax请求,后台ASP程序接收请求参数,并作出相应,获取数据库相应的记录并以JSON的形式返回给前台页面,前台页面jQuery解析JSON数据,并将数据追加到列表页。-We can see a such applications on the Tencent website, some of the comments column, the list did not use a paging toolbar, but a record of loading a certain number displayed in the list page, when users to browse to the list at the bottom of the page, click load more to see more records by. Some netizens reflect the amount of data is large, the load is slow, this version of the background to change the way, to speed up the output.
Principle: when the page is loaded, jQuery to background request data, ASP program by querying the will be the latest records displayed in the list page, at the bottom of the list page has a more link, by triggering the link to the server to send Ajax request, the background ASP program receives the request parameters, and accordingly, obtain the corresponding records and to JSON form back to the front page, front page jQuery JSON data parsing and and the data is appended to the list of pages.
原理:页面载入时,jQuery向后台请求数据,ASP程序通过查询数据库将最新的几条记录显示在列表页,在列表页的底部有个“更多”链接,通过触发该链接,向服务端发送Ajax请求,后台ASP程序接收请求参数,并作出相应,获取数据库相应的记录并以JSON的形式返回给前台页面,前台页面jQuery解析JSON数据,并将数据追加到列表页。-We can see a such applications on the Tencent website, some of the comments column, the list did not use a paging toolbar, but a record of loading a certain number displayed in the list page, when users to browse to the list at the bottom of the page, click load more to see more records by. Some netizens reflect the amount of data is large, the load is slow, this version of the background to change the way, to speed up the output.
Principle: when the page is loaded, jQuery to background request data, ASP program by querying the will be the latest records displayed in the list page, at the bottom of the list page has a more link, by triggering the link to the server to send Ajax request, the background ASP program receives the request parameters, and accordingly, obtain the corresponding records and to JSON form back to the front page, front page jQuery JSON data parsing and and the data is appended to the list of pages.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
more/conn.asp
more/data.asp
more/index.htm
more/jquery.min.js
more/jquery.more.js
more/loader.gif
more/more.gif
more/more.mdb
more/说明.txt
more
more/data.asp
more/index.htm
more/jquery.min.js
more/jquery.more.js
more/loader.gif
more/more.gif
more/more.mdb
more/说明.txt
more
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.