您的位置:首页 > 移动开发

刷新按钮-移动端测试

2015-09-10 10:08 316 查看
<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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: