JavaScript
旧颜_
这个作者很懒,什么都没留下…
展开
-
JS实现搜索框文字可删除
JS实现搜索框文字可删除*:focus {outline: none; }body {width: 400px;margin: 100px auto;}#topsearch {height: 33px;}#topsearch .input {border: 1px solid #77c03a;height: 100%;}#topsearch .input .clear {w转载 2016-12-28 10:03:10 · 1599 阅读 · 0 评论 -
JavaScript返回上一页方法归纳
1. js重载页面,本地刷新返回上一页javascript:history.go(-1)">返回上一页重载页面,本地刷新返回上一页重载页面,本地刷新返回上一页2.返回前两页并刷新history.go(-2);location.reload();history.back(-1):直接返回当前页的上一页,数据全部消息,是个新页面history转载 2017-01-20 10:26:34 · 585 阅读 · 0 评论