[Javascript] Netscape cannot submit() multiple forms?

TomMallard mallard at serv.net
Wed May 2 06:29:45 CDT 2001


Try adding this to each of the form tags...

    enctype="multipart/form-data"

tom
----- Original Message ----- 
From: "Tom Churm" <thomas.churm at pixelpark.com>
To: <javascript at LaTech.edu>
Sent: Wednesday, May 02, 2001 3:15 AM
Subject: [Javascript] Netscape cannot submit() multiple forms?


> hi,
> 
> (Peter, you were right!-NS cannot submit mult. forms)
> 
> i've got a link that calls a javascript function.  this function
> contains the following:
> 
> document.forms[1].submit();
> document.forms[2].submit();
> document.forms[3].submit();
> document.forms[4].submit();
> document.forms[5].submit();
> 
> five different forms should be submitted when this link is clicked on. 
> in MSIE i've got no problems--all forms are submitted.  but in netscape,
> only the last form is sent:
> 
> document.forms[5].submit();
> 
> and the other four are simply ignored.  anybody know if this is some
> kind of built-in safety feature for Netscape, and if there's a
> workaround for this?
> 
> thanks,
> 
> tom
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
> 





More information about the Javascript mailing list