不过是iframe[name]的话,就涉及onload的问题了...所以就麻烦了许多.... 以下只是加了延迟...并没有"真正"的处理onload的问题....其实可以循环window.open来解决,不过懒的弄就略了...^^ jb51.net <BR>window.openC = function (href, target, e) { <BR>try { <BR>window.open('javascript:if(!document.body){opener.openC.isNull=true;opener.open("c.asp");close();}', target || ''); <BR>window.setTimeout(function () { <BR>if (window.openC.isNull) { <BR>delete window.openC.isNull; <BR>window.setTimeout(function () { <BR>e.fireEvent('onclick'); <BR>}, 500); <BR>} else { <BR>window.open(href, target); <BR>} <BR>}, 100); <BR>} catch (exp) { <BR>alert(exp.message); <BR>} <BR>}; <BR>