摘要: Document 测试 阅读全文
posted @ 2018-07-28 18:37 会说话的mao 阅读(159) 评论(0) 推荐(0) 编辑
摘要: // var index = location.href; // console.log(index) // // indexOf() 方法可返回某个指定的字符串值在字符串中首次出现的位置。 // var demo = index.indexOf("?"); // console.log(demo); // // ... 阅读全文
posted @ 2018-07-21 11:28 会说话的mao 阅读(167) 评论(0) 推荐(0) 编辑
摘要: - 本地存储 + localStorage.getItem("search_history") 获取本地存储 + localStorage.setItem("a","100") 设置本地存储 + localStorage.removeItem("a") 删除本地存储 + 如果获取的本地存储对应的ke 阅读全文
posted @ 2018-07-21 11:20 会说话的mao 阅读(2906) 评论(0) 推荐(0) 编辑