刷新按钮-移动端测试

<script>
$(function(){
$('body').append('<a id="refresh" style="position: fixed;z-index:2000; font-size: 14px; top: 50%; right: 0; width: 60px; line-height: 60px; height: 60px;opacity: .7; background: coral; text-align: center; border-radius: 50%; color: #fff; ">刷新</a>'); $('#refresh').on('click',function() {window.location.reload(true); });
});

</script>

posted @ 2015-09-10 10:08  miumiu316  阅读(262)  评论(0编辑  收藏  举报