Javascript code redirect to a division on the same page

Allright this might be a general question but i wasn't able to find an answer to it.

I want the browser to move to another division(part) of the page once a user has clicked a specific button.How can this be achieved.


<a href="#idOfAnotherPart">Click Here</a>会将页面移动到div或id为idOfAnotherPart其他元素

链接地址: http://www.djcxy.com/p/34734.html

上一篇: PHP在设置内容类型头之前回显?

下一篇: Javascript代码重定向到同一页上的一个部门