js 子iframe轮换父iframe中的href

js 子iframe替换父iframe中的hrefwindow.parent.frames[fmain].location.hrefhttp://www.iteye.com?

js 子iframe替换父iframe中的href

window.parent.frames["fmain"].location.href="http://www.iteye.com";

?

fmain ?//表示父iframe中的一个name对象