error after submit a form
<p>i have a php like this:</p>

<pre><code>&lt;?php
......
?&gt;
&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div id="content"&gt;
&lt;form id="myform" name="myform"&gt;
&lt;?php include_once("ronny.php"); ?&gt;
.....
&lt;input type="button" value="Save" id="Save" name="Save" onclick="if(check123()==true){document.myform.submit()}" /&gt;
&lt;/div&gt;
&lt;/form&gt;
...
</code></pre>

<p>Now, in this case after i click on save i have an error <code>document.myform.submit is not a function</code> in firebug and in IE the error is <code>Object doesn't support this property or method</code>.
If i delete the <code>&lt;?php include_once("ronny.php"); ?&gt;</code> everything is ok.</p>

<p>ronny.php is like that:</p>

<pre><code>&lt;?php

if(......)){

?&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;SCRIPT LANGUAGE="JavaScript"&gt;
....
&lt;/SCRIPT&gt;
&lt;?php } ?&gt;
</code></pre>

<p>If i put the include in the php at the top it's ok as well.</p>

<p>thank you!</p>
