Javascript Submit
<p>Hi I have the following script in my form </p>

<pre><code>function pdf() {
var frm = document.getElementById("form1");
frm.action = "http://www.abbysoft.co.uk/index.php";
frm.target="_blank"
frm.submit()
}
</code></pre>

<p>this is called from the following in my form
          <code>&lt;input class="buttn" type="button" value="Test" onclick="pdf()"</code></p>

<p>The code work up to the frm.submit() but it will not submit </p>

<p>Can anyone offer any advice please ?</p>
