Hi Ian,<br />try firs the answer of Umberto...<br />if not:<br /><br
/>submit is not a function of mapserver, but a function of the javascript
object form, which send the data of the form to the web server, accordin
to the method (POST or GET, default GET, I suppose, but is not important
yet)<br /><br />try some debug methods like alerts:<br /><br /><span
class="Code">&nbsp;&nbsp; var oform =
document.forms[&quot;mapserv&quot;];<br />&nbsp;&nbsp;&nbsp; if (!oform) {
alert(&quot;form not recognized&quot;);  }<br /></span><br />and the
problem is another.<br />try too another browser.<br /><br />javascript
need much patience <br /><br />bye<br
/>............................................ pg<br /><br /><br />On Mer,
14 Marzo 2007 5:29 pm, Maxfield Ian wrote:<br />&gt; Hi Pietro,<br />&gt;
<br />&gt; <br />&gt; <br />&gt; The actual code within the html file is
&quot; document.mapserv.submit() &quot;,<br />&gt; whereas the error
message within the Firefox error console removed the<br />&gt;
parenthesis.  I have tried examples such as:<br />&gt; <br />&gt; var
oform = document.forms[&quot;mapserv&quot;];<br />&gt; <br />&gt;
oform.submit();<br />&gt; <br />&gt; <br />&gt; <br />&gt; but this did
not work either.  The same error came back.<br />&gt; <br />&gt; <br
/>&gt; <br />&gt; This is quite frustrating as everyone's examples online
use  &quot;<br />&gt; document.mapserv.submit() &quot; without any
problems. Is submit() a function<br />&gt; within the mapserver
program?<br />&gt; <br />&gt; <br />&gt; <br />&gt; Ian<br />&gt; <br
/>&gt; <br />&gt; <br />&gt; Ian Maxfield<br />&gt; GIS Specialist<br
/>&gt; Avon IM&amp;T Consortium, King Square House, King Square, Bristol,
BS2 8EE<br />&gt; T: 0117 9002490 / F: 0117 9002473<br />&gt; E:
Ian.Maxfield@aimtc.nhs.uk<br />&gt; W:
http://nww.avon.nhs/imtconsortium/Information_Services/<br />&gt; <br
/>&gt; ________________________________<br />&gt; <br />&gt; From: UMN
MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] On<br />&gt;
Behalf Of Pietro Giannini<br />&gt; Sent: 14 March 2007 16:08<br />&gt;
To: MAPSERVER-USERS@LISTS.UMN.EDU<br />&gt; Subject: Re:
[UMN_MAPSERVER-USERS] document.mapserv.submit(); problems in<br />&gt;
javascript<br />&gt; <br />&gt; <br />&gt; <br />&gt; try:<br />&gt;
document.mapserv.submit()with parenthesis ( ).<br />&gt; without
parenthesis 'submit' is a property, not a function, in javascript.<br
/>&gt; <br />&gt; regards<br />&gt;
.....................................pg<br />&gt; <br />&gt; --<br />&gt;
Pietro Giannini<br />&gt; Bytewise srl - Area GIS<br />&gt;
41&deg;50'38.58&quot;N 12&deg;29'13.39&quot;E<br />&gt; <br />&gt; <br
/>&gt; On Mer, 14 Marzo 2007 4:50 pm, Ian Maxfield wrote:<br />&gt;&gt;
Many thanks to those who gave solutions to problems that I was having<br
/>&gt;&gt; with<br />&gt;&gt; javascript. The error console in Firefox has
proved particularly useful<br />&gt;&gt; in<br />&gt;&gt; identifying and
fixing problems.<br />&gt;&gt;<br />&gt;&gt; The only message that I now
currently have from the error console is:<br />&gt;&gt;<br />&gt;&gt; '
document.mapserv.submit is not a function '<br />&gt;&gt;<br />&gt;&gt; I
understand that this is the script to force mapserve to refresh within<br
/>&gt;&gt; javascript. In all the examples I have seen on the the net the
code<br />&gt;&gt; above<br />&gt;&gt; is perfectly valid - I cannot see
why I should have an error using this<br />&gt;&gt; code.<br />&gt;&gt;<br
/>&gt;&gt; Can anyone shed any light on this??<br />&gt;&gt;<br />&gt;&gt;
Thanks,<br />&gt;&gt;<br />&gt;&gt; Ian<br />&gt;&gt;<br />&gt; <br />&gt;
###########################################<br />&gt; <br />&gt; This
message has been scanned by F-Secure Anti-Virus for Microsoft<br />&gt;
Exchange.<br />&gt; For more information, connect to
http://www.f-secure.com/<br /><br /><br />-- <br />Pietro Giannini<br
/>Bytewise srl - Area GIS<br />41&deg;50'38.58&quot;N
12&deg;29'13.39&quot;E