aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes list of available values for enctype attributes in form tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "list of available values for enctype attributes in form tag" Watch "list of available values for enctype attributes in form tag" New topic
Author

list of available values for enctype attributes in form tag

Darshan Bhavsar
Greenhorn

Joined: Dec 06, 2001
Posts: 26
Hi friends,
I want to know list of available values for enctype attributes in form tag and their meaning
Thanks in advance
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
look here for a list of common MIME types. To get a list from your browser you can do something like this:
Darshan Bhavsar
Greenhorn

Joined: Dec 06, 2001
Posts: 26
Hello i don't want mimetypes but enctype
like text/plain or multiform-part and like that
i actually want to send some rich text mail through html
<form action=mailto mb@atul.co.in enctype="text/plain">
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
As I understand it, enctype is looking for MIME types.
From MSDN

ENCTYPE Attribute | enctype Property Internet Development Index
--------------------------------------------------------------------------------
Sets or retrieves the Multipurpose Internet Mail Extensions (MIME) encoding for the form.
Syntax
HTML <FORM ENCTYPE = sType... >
Scripting FORM.enctype(v) [ = sType ]
Possible Values
sType String that specifies or receives the format of the data being submitted by the form.
The property is read/write. The property has a default value of application/x-www-form-urlencoded.
Remarks
The enctype property was introduced in Microsoft� Internet Explorer 6. If backwards compatibility is required, use the encoding property.
Internet Explorer also recognizes multipart/form-data, which, along with a POST method, is required to submit a file upload to the server.
Standards Information
This property is defined in HTML 3.2 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: list of available values for enctype attributes in form tag
 
Similar Threads
upload an avatar or other file
how to upload file along with HTML form data
java.lang.Illegal Argument Exception: argument type mismatch
how to pass values from html to jsp
Issue with the Browse button(<input type="file">)