一个Location的hash问题,我想利用Location的hash来定位一个页面中的<a>的位置,可是不行啊。 <input type=button onclick="window.location.hash='start'"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <input type=button onclick="window.location.hash='start'"><input type=button onclick="window.location.hash='sec1'"><input type=button onclick="window.location.hash='sec2'"> 把下面这个加到<head></head>中:<script>function goNext(strTarget){ window.location.hash=strTarget;}</script> goNext是什么函数啊,自自己定义的? onclick="goNext('sec2')"要加单引号,因为是字符串 IE 框架执行器 关于jquery中$.ajax调用问题?…… 一个图片展示的源码 真是怪:为什么要用三个等号?看不明白用意啊。 JS執行不符合預期效果傳回undefined 求解:Javascript/VBScript版MD5函数加密中文结果总不一样:( 求一个在窗口大小范围内漂浮的广告框,而且碰到窗口四周会反弹 两个小问题请教一下(在线等待) 谁知道在<tag>disp value</tag>里,disp value能否动态改变(用JAVASCRIPT)??(100分) 麻烦各位,用javascript如何实现如下功能? 如何办? 简单问题,一个属性忘了,请大家帮忙,谢谢!
<input type=button onclick="window.location.hash='sec1'">
<input type=button onclick="window.location.hash='sec2'">
<script>
function goNext(strTarget)
{
window.location.hash=strTarget;
}
</script>