How to open new window when using javascript to post to a form?
<p>I have a form like so:</p>

<pre><code>    &lt;form method="post" action="task.cfm" name="lookup" id="lookup"&gt;
        &lt;input type="hidden" name="action" value=""&gt;
        &lt;input type="hidden" name="emailAddress" value=""&gt;
    &lt;/form&gt;
</code></pre>

<p>And I'm posting to this form using this link:</p>

<pre><code>&lt;a href="javascript:document.lookup.action.value='search';document.lookup.emailAddress.value='&lt;cfoutput&gt;#VARIABLES.decryptedEmailAddress#&lt;/cfoutput&gt;';document.lookup.submit();"&gt;View User details&lt;/a&gt;
</code></pre>

<p>The link works, but I'm trying to get it to open in a new window. target="_blank" does not work in this case. Any help would be appreciated.                    </p>
