try..<script>
function changePage(url)
{
parent.mainFrame.location.href=url;
}
</script>
网页里面代码动态生成结果如下:
<A HREF="#" onclick="javascript:changePage('http://localhost:8080/pub/1.jsp')"
target="mainFrame">ttt</a>
function changePage(url)
{
parent.mainFrame.location.href=url;
}
</script>
网页里面代码动态生成结果如下:
<A HREF="#" onclick="javascript:changePage('http://localhost:8080/pub/1.jsp')"
target="mainFrame">ttt</a>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货