摘要:
一、浏览器支持 检测方法:if(window.localStorage){alert('YES');}else{alert('NO');}二、操作 写入 localStorage.testkey = testval; localStorage["testkey"]="testval2"; localStorage.setItem("testkey2","testval"); 读取 vara1=localStorage["testkey"]; vara2=local 阅读全文
posted @ 2013-07-10 19:40
飞天小莫
阅读(236)
评论(0)
推荐(0)

浙公网安备 33010602011771号