文件名称:aspjzgd_v1.1
- 所属分类:
- WEB源码
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2015-06-28
- 文件大小:
- 41kb
- 下载次数:
- 0次
- 提 供 者:
- eepu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
我们在腾讯网站等一些评论栏目上可以看到这样的应用,列表没有使用分页条,而是一次加载一定数量的记录显示在列表页,当用户浏览到列表页底部时,可以通过单击“加载更多”来查看更多记录。有网友反映数据量大时,加载速度慢,这一版本改变了后台读取方式,加快了输出速度。
原理:页面载入时,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
....\data.asp
....\index.htm
....\jquery.min.js
....\jquery.more.js
....\loader.gif
....\more.gif
....\more.mdb
....\说明.txt
more