<script language=javascript>
function d123()
{
alert(document.all.hh.href)
document.all.hh.href="2.htm"
alert(document.all.hh.href)
}
</script>
<a href='www.oracle.com.cn' id='hh'>oracle</a>
<input name=c123 type=button onclick=d123()>
function d123()
{
alert(document.all.hh.href)
document.all.hh.href="2.htm"
alert(document.all.hh.href)
}
</script>
<a href='www.oracle.com.cn' id='hh'>oracle</a>
<input name=c123 type=button onclick=d123()>
解决方案 »
- Jquery touchwipe结合Jquery cycle怎么实现图片翻滚的效果
- 执行button的onclientclick 后 textbox内容被清空
- 这个正则表达式好奇怪啊!!!!!!!!!!
- 有点特别:框架页内的嵌套页面跳转控制
- java 如何获取 ACTIVEX事件中传递的参数?
- input的text框问题了,比较邪门的问题!
- 关于调用js函数时参数带有特殊字符的处理问题
- 孟子E章,回一个吧!老大们,给点面子回了吧
- MM高分急救,请教<FRAME>与用<iframe></iframe>有什么区别
- 老孟!来拿分!给你的!
- 拷贝iframe里的table里的所有行到当前窗口指定的table时,怎么不行?
- javascript中给session赋值
function d123()
{
hh.outerHTML=hh.outerHTML.replace(/www.oracle.com.cn/,'www.52rock.com')
}
</script>
<a href='www.oracle.com.cn' id='hh'>oracle</a>
<input name=c123 type=button onclick=d123()>
function d123()
{
hh.outerHTML=hh.outerHTML.replace(/www.oracle.com.cn/,'www.52rock.com')
}
</script>
<a href='www.oracle.com.cn' id='hh'>oracle</a>
<input name=c123 type=button onclick=d123()>
实际是改了,但是由于是使用js,所以直接查看源文件是看不出变化的。<script language=javascript>
function d123()
{
hh.href = "http://www.stefli.com/";
hh.innerText = "stefli";
}
</script>
<a href='www.oracle.com.cn' id='hh'>oracle</a>
<input name=c123 type=button onclick=d123()>