Re: submit a form using javascript in netscape
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37556
interpreted = N
texte = Andrew Simpson wrote:> > Why will this work in IE and not in Netscape???> > document.forms[1].submit();Maybe because the document.forms[1] set is 0-based? Did you try document.forms[0].submit()if you have only the one form on the page?> > in ie you can almost get away with> > um.yeah.can.you.send.that.form.there.to.my.server-thanks.> > Does anybody know how to submit a form in netscape???Try Netscape's site:http://developer.netscape.com:80/docs/manuals/js/client/jsref/form.htm#1194123All of the examples you gave should work, unless there is somethingelse subtly wrong with your page. As you noted, IE is very lazy andwill take almost anything; Netscape tries to be consistent and usuallyrequires everything to set up correctly before it will work.If you have a problem with your javascript in Netscape, you can usuallydiscover what is going on by type javascript: into the location field.HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Andrew Simpson wrote:> > Why will this work in IE and not in Netscape???> > document.forms[1].submit();Maybe because the document.forms[1] set is 0-based? Did you try document.forms[0].submit()if you have only the one form on the page?> > in ie you can almost get away with> > um.yeah.can.you.send.that.form.there.to.my.server-thanks.> > Does anybody know how to submit a form in netscape???Try Netscape's site:http://developer.netscape.com:80/docs/manuals/js/client/jsref/form.htm#1194123All of the examples you gave should work, unless there is somethingelse subtly wrong with your page. As you noted, IE is very lazy andwill take almost anything; Netscape tries to be consistent and usuallyrequires everything to set up correctly before it will work.If you have a problem with your javascript in Netscape, you can usuallydiscover what is going on by type javascript: into the location field.HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Help! WebCat2 bug (Ben's input) (1997)
Include a big block of text (1997)
Dynamic Image Generation (2000)
WebCat2b12 - nesting [tags] (1997)
Beta 18 (1997)
Formulas.db (2001)
Major Security Hole (1998)
WebMerchant 1.6 and SHTML (1997)
[Announce]: Web server security and password protection (1997)
[OT] Live Chat with Video capability (2008)
the dreaded unitShipCost (2003)
Incrementing a number (1998)
[SearchString] usage (1997)
Help Please WebDNA 6 Secure Forms Problem (2004)
[WebDNA] Chatroom with Webcatalog (2011)
[TaxableTotal] - not working with AOL and IE (1997)
ANother SHOWIF problem (1997)
[WebDNA] Sales Tax on CUstom WebDNA Site (2008)
about this server and links to who (1997)
WebCat2 - Getting to the browser's username/password data (1997)