JavaScript 分享:js也可以跳转到锚点2012-03-03zone阅读(458)评论(0)赞(0)这里在链接加个name值就可以了,比html加锚点麻烦了一点: <a name=”anchor”></a> location.hash=”anchor”;