代码
a.html中有iframe:如下
<iframe id="mainFrame" src='index.php?c=system&m=page1'></iframe>
index.php?c=system&m=page2;
index.php?c=system&m=page3;
在a中有其他<a>链接到其他两个页面现在b页面中有个<a>标签,怎样链接到page2的页面
我试过onclick='javascript:document.getElementById('mainFrame').src='index.php?c=system&m=myit
和 /'index.php?c=system&m=myit都只能链接到page1有谁帮忙解决下,谢谢
a.html中有iframe:如下
<iframe id="mainFrame" src='index.php?c=system&m=page1'></iframe>
index.php?c=system&m=page2;
index.php?c=system&m=page3;
在a中有其他<a>链接到其他两个页面现在b页面中有个<a>标签,怎样链接到page2的页面
我试过onclick='javascript:document.getElementById('mainFrame').src='index.php?c=system&m=myit
和 /'index.php?c=system&m=myit都只能链接到page1有谁帮忙解决下,谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货