Sets or retrieves the Multipurpose Internet Mail Extensions (MIME) encoding for the form.SyntaxHTML <FORM ENCTYPE = sType... > Scripting FORM.enctype(v) [ = sType ] Possible ValuessType 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.ResThe 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能不能把它的值设为默认的;The property has a default value of application/x-www-form-urlencoded.
ok ,搞定了, 合并ice_berg16(寻梦的稻草人) ( ) 和 qidizi(qidizi) ( ) 的方法
form.enctype.delete?
能不能写具体点!
>
.....
</form>
-----------------------------------
修改为
<form name = "form1" id="form1" method ="post" >
.....
</form>
你说的这个我知道,我要在脚本里面修改他,因为我两个按钮实现两个功能,一个是普通提交一个是上传提交~~~
Scripting FORM.enctype(v) [ = sType ] Possible ValuessType 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.ResThe 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能不能把它的值设为默认的;The property has a default value of application/x-www-form-urlencoded.
合并ice_berg16(寻梦的稻草人) ( ) 和 qidizi(qidizi) ( ) 的方法