Hi Jessica, Given the syntax, I suspect your statement might need to be:
document.forms['mapserv'].submit(); But this appears to happen in your mapfile... Which is weird, because your browser isn't supposed to be loading your mapfile, but your template. Can you please check whether you are loading a .html template? And what is your piece of code trying to do? Maybe send a larger piece of code. Regards, Jacob > -----Original Message----- > From: UMN MapServer Users List > [mailto:[EMAIL PROTECTED] On Behalf Of fend0009 > Sent: 30 November 2006 13:22 > To: [email protected] > Subject: [UMN_MAPSERVER-USERS] Question on Javascript Pan not Working > > Hi all: > > I encountered a problem in constructing my interactive map. > The navigation > (pan) buttons do not work. > > The JavaScript Console returned the following error message > > Error: document.mapserv.submit is not a function > Source File: > http://maps.socsci.umn.edu/cgi-bin/mapserv?map=/home/fend0009/ > public_html/noise.map > Line: 81 > > Could someone please give me some guidance? I appreciate your time. > > Regards, > Jessica Fendos >
