Monday, October 13, 2008

用javascript来控制页面跳到指定锚点

用javascript来控制页面跳到指定锚点
window.location.hash = "here"; //here为锚点的名字
纯ajax开发时能用到。

No comments: