1种方法:
document.iframename.location="2.htm"
2种方法:
<script>
function test(){
document.all.mxh.src="http://sohu.com"
}
</script>
<a href=# onclick="test()">test</a>
<iframe id=mxh></iframe>
1种方法:
document.iframename.location="2.htm"
2种方法:
<script>
function test(){
document.all.mxh.src="http://sohu.com"
}
</script>
<a href=# onclick="test()">test</a>
<iframe id=mxh></iframe>