阅读背景:

如何打开新选项卡并更改当前页面

来源:互联网 
<form id="frm_1" name="frm_1" target="_self" method="GET" action="local_page.php" >
</form>
<form id="tgt_1" name="tgt_1" target="_blank" method="POST" action="https://stackoverflow.com/" >
</form>
<a onclick="test(event, '1'); " href="/go.html?url=#" >Click Here</a>
<script>
    function test(event, id){
        document.getElementById("frm_"+id).submit;
        document.getElementById("tgt_"+id).submit;
    }
</script>
<form id="frm_1" name="frm_1" target="_self" me



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: