Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

list of available values for enctype attributes in form tag

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,
I want to know list of available values for enctype attributes in form tag and their meaning
Thanks in advance
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .

 
Are you here to take over the surface world? Because this tiny ad will stop you!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic