H5
candy_li123
这个作者很懒,什么都没留下…
展开
-
网页存储web storage---购物车(会员登录)
网页存储web storage:实现购物车操作的会员登录部分<!doctype html><html lang="en"><head> <meta charset="UTF-8" /> <title>shopping car</title> <script type="text/javascript">function sendok(){ if(userid.v原创 2015-12-01 10:30:48 · 767 阅读 · 0 评论 -
网页存储 web storage(理论)
web storage提供两种方式将数据保存在客户端:一种是localStorage,另一种是sessionStorage; (一)存储、读取和清除localStorage<!doctype html><html lang="en"><head> <meta charset="UTF-8" /> <title>localStorage</title> <script t原创 2015-11-30 17:26:50 · 410 阅读 · 0 评论