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.

Received on Thursday, 20 July 2000 12:01:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:54 UTC