62,263
社区成员
发帖
与我相关
我的任务
分享
1,“查收邮件”按钮代码
<button id="btnSee"
style="Z-INDEX: 105; LEFT: 96px; POSITION: absolute; TOP: 139px; width: 75px;"
onclick="javascript:See();" type="button" runat="server">查收邮件</button>
2,//js跳转代码,结果总提示:opener对象为空或不是对象
<script language="javascript">
function See()
{
opener .location ="MessageListReceive.aspx?MsgBox=recnote";
window.close();
}
</script>
OnClientClick="See()"
function See() {
window.open ("MessageListReceive.aspx?MsgBox=recnote", "newwindow", "height=300, width=300, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")
}