但是reload()后,不会再执行init好像,页面上的content会是空的,alert的话,也确实不到那里了。
怎么办?
<%String url=request.getParameter("url");%>
function init(){
var url = "<%=url%>";
//alert(url +":"+url.indexOf("$notify.do"));
window.top.webgate_content.location.reload();
if(url.indexOf("$notify.do") != -1) {
window.top.message.location = url;
}else {
window.top.webgate_content.content.location = url;
}
//window.top.content.location = url;
}
<body onload="init()">
--
FROM 114.255.76.*