页面加载跳转到指定位置

一、在页面须要跳转到的位置加上id="test"code

二、js代码以下:ip

<script>
    $(function(){
        window.location.hash="#test";
    })
   </script>
相关文章
相关标签/搜索