<iframe id="myframe" name="myframe">
</iframe>
<input type ="button" onclick="change()"/>
<script type="type/javascript">
function change(){
document.getElementById("myframe").setAttribute('src','index3.html');//重置src
--
接下来是获取iframe元素刷新,两种 方法在google chrome中可行!
}
</script>