在一个页面中有2个ifram,第一个为登陆界面,当登陆成功后怎样实现第二个ifram自动刷新??
<iframe src= "http://202.205.172.177:2828/default_login.aspx " height= "350px "> </iframe>
<iframe src= "http://202.205.172.177:2828/archiver/mygame.aspx " height= "450px "> </iframe> <br />
[解决办法]
<iframe name= "xxxx " src= "http://202.205.172.177:2828/archiver/mygame.aspx " height= "450px "> </iframe> <br />
登录成功后的页面中 <body onload= "parent.frames[ 'xxxx '].location.reload(); ">