<script language="javascript">
function submitpage()
{
window.opener.document.forms[0].action = 'mypage.aspx?callback=1';
window.opener.document.forms[0].__VIEWSTATE.name = 'NOVIEWSTATE';
window.opener.document.forms[0].submit();
}
</script>
window.opener.document.forms[0].__VIEWSTATE.name = 'NOVIEWSTATE';
必须要加,否则会出权限错误
function submitpage()
{
window.opener.document.forms[0].action = 'mypage.aspx?callback=1';
window.opener.document.forms[0].__VIEWSTATE.name = 'NOVIEWSTATE';
window.opener.document.forms[0].submit();
}
</script>