1.htm<iframe src="http://www.hao123.com"></iframe>
<iframe src="http://www.baidu.com"></iframe>
<iframe src="2.htm"></iframe>
<iframe src="http://xxx.com/2.htm"></iframe>//当2.htm放在另一个域名下时2.htm<script src="how.js" type="text/javascript"></script>how.jswindow.parent.document.getElementsByTagName("iframe")[0].src="http://hao133.net"; 
window.parent.document.getElementsByTagName("iframe")[1].src="http://qq.com"; }1.htm和2.htm放在同目录下一切正常,但是当2.htm放到别的域名下时,JS就执行不了了,好像涉及到跨域安全问题,有没有什么好的解决方案?