//alert('2');
//opener.location.reload();
//rightFrame.location.reload();
//window.location.reload();
window.location.href=window.location.href;
window.location.reload;
//alert('8');
//window.location.onunload(function(){showAll(parentid , scrollTopValue);});
//setTimeout(function(){showAll(parentid , scrollTopValue);},1000);
showAll(parentid , scrollTopValue);
//alert("parentid="+parentid+";scrollTopValue="+scrollTopValue);
//alert('8');
//alert('4');
当把alert释放开以后 showall的方法在页面就可以得到我想要的效果。。但是业务上不可以这么处理,求高手指点 reload 刷新以后的js方法调用问题
//opener.location.reload();
//rightFrame.location.reload();
//window.location.reload();
window.location.href=window.location.href;
window.location.reload;
//alert('8');
//window.location.onunload(function(){showAll(parentid , scrollTopValue);});
//setTimeout(function(){showAll(parentid , scrollTopValue);},1000);
showAll(parentid , scrollTopValue);
//alert("parentid="+parentid+";scrollTopValue="+scrollTopValue);
//alert('8');
//alert('4');
当把alert释放开以后 showall的方法在页面就可以得到我想要的效果。。但是业务上不可以这么处理,求高手指点 reload 刷新以后的js方法调用问题
然后onload后先去查#后面有什么参数做什么事。直接relaod后面的代码肯定没用。
reload相当于return了。
所以后面的代码就不执行了