超简单的,就是有时想不起来。

<input name="btnClose" onclick="javascript:window.opener=null;window.open('','_self');window.close();" Text="关闭"></input>

posted on 2008-10-30 17:49  朱胜  阅读(243)  评论(0)    收藏  举报