<a href="#huifutiezi">锚点<a>改成<a name="huifutiezi">锚点<a>或者<a id="huifutiezi">锚点<a>
<script>window.location.hash='#huifutiezi'</script>