W3C home > Mailing lists > Public > www-html@w3.org > July 2000

Re: changing ENCTYPE

From: Rupert Wood <rup@kanat.pair.com>
Date: Thu, 20 Jul 2000 12:01:01 -0400 (EDT)
To: rick.myers@verizon.com
cc: www-html@w3.org
Message-ID: <Pine.BSF.4.10.10007201155540.24657-100000@kanat.pair.com>
> Is the <form> tag property ENCTYPE a modifiable variable (via scripts)?

Yes, but the property name varies. NS6 does use document.npaForm.enctype
(as per DOMs 1 and 2) whereas NS4 and IE55 use document.npaForm.encoding.

From quick tests, it looks like they're modifiable.

> the second cgi accepts only 'application/x-www-urlencoded' data.

IE55 at least is very particular; it will script error if you don't give
it something it recognises, e.g. the above when I copied it off your
e-mail... this should be application/x-www-form-urlencoded.

Rup.
Received on Thursday, 20 July 2000 12:01:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT