How to open a new tab and change the current page
<pre><code>&lt;form id="frm_1" name="frm_1" target="_self" method="GET" action="local_page.php" &gt;
&lt;/form&gt;
&lt;form id="tgt_1" name="tgt_1" target="_blank" method="POST" action="http://stackoverflow.com/" &gt;
&lt;/form&gt;
&lt;a onclick="test(event, '1'); " href="#" &gt;Click Here&lt;/a&gt;
&lt;script&gt;
    function test(event, id){
        document.getElementById("frm_"+id).submit;
        document.getElementById("tgt_"+id).submit;
    }
&lt;/script&gt;
</code></pre>

<p>Is it possible to open a new tab/window and change the current page ?</p>
