
js
$Elvin
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
js 页面刷新方法汇总
1 history.go(0) 2 location.reload() 3 location=location 4 location.assign(location) 5 document.execCommand('Refresh') 6 window.navigate(location) 7 location.replace(转载 2018-01-28 11:26:31 · 216 阅读 · 0 评论 -
js 返回上一页并刷新上一页
window.location.href = document.referrer;转载 2018-03-26 14:32:13 · 224 阅读 · 0 评论 -
js简单的字符串转html(对象)
var str = "<span>hk</span>"; var parent = $('body'); parent.html(str);转载 2018-06-25 18:02:25 · 32712 阅读 · 2 评论 -
js 文字滚动
.wrap{ width:100%; } .roll-wrap{ height: 30px; overflow: hidden; background: red; line-height: 30px; } <div class="wrap"> <div class="roll-wrap" id="roll-wrap"> ...翻译 2018-11-09 17:10:20 · 232 阅读 · 0 评论