Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>EDIT: Here is a test I ran, where I cleaned up a lot of your issues in HTML and JS. I found that this solution will, in fact, hit both URLs in Chrome.</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;EXPORT INVOICE &lt;/title&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt; &lt;script type="text/javascript"&gt; function runscript() { document.forms.f1.submit(); window.setTimeout(function() { document.forms.f2.submit(); }, 500); } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;table width="810" height="140" border="0" cellpadding="5" cellspacing="0" class="uniq" align="center"&gt; &lt;tr class="uniq"&gt; &lt;td width="363" valign="middle"&gt; &lt;form name="f1" method="post" action="export-tst-with-header.php" target="_blank"&gt; &lt;br /&gt; &lt;span class="sty2"&gt;Enter to export From Invoice No.:&lt;/span&gt; &lt;input type="text" size='10' maxlength='10' name="finv" onblur="showfrom(this.value);" /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="sty2"&gt;To Invoice No:&lt;/span&gt;&amp;nbsp; &lt;input type="text" size='10' maxlength='10' name="tinv" onblur="showto(this.value);" /&gt; &lt;/form&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr class="uniq"&gt; &lt;td width="363" valign="top"&gt; &lt;div align="center"&gt; &lt;br /&gt; &lt;br /&gt; &lt;form name="f2" method="post" action="export-tst-with-header2.php" target="_blank"&gt; &lt;/form&gt; &lt;input type="button" value="Export" onClick="runscript();" /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;a href='index.htm' target='_parent'&gt;&lt;input name="close" type="button" value="Close !"&gt;&lt;/a&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload