javascript causing 2nd pop up window to occur?
<p>I'm using this javascript once a user has clicked submit on a html form. What I am trying to achieve is have a jquery window pop up. However, whilst it does do this, the browser is also opening up a new _blank target window at the same time and I don't want it to do this. </p>

<p>Is there a way to stop this so I only have the one jquery "shadowbox" window coming up?.</p>

<pre><code>&lt;script&gt;
    $(document).ready(function() {
        $('#myform').submit(function() {
            Shadowbox.open({
            content:    '&lt;iframe src="loginin.php" width="500" height="300" scrolling="no" style="overflow:hidden; border:none;"&gt;&lt;/iframe&gt;',
            player:     "html",
            height:     300,
            width:      500
        });

        this.target = 'formpopup';
    });
});
&lt;/script&gt;
</code></pre>
