摘要:
首先知道enctype这个属性管理的是表单的MIME编码。共有三个值可选:1、application/x-www-form-urlencoded2、multipart/form-data3、text/plain其中application/x-www-form-urlencoded是默认值,作用是设置表单传输的编码。例如我们在AJAX中见过xmlHttp.setRequestHeader("Content-Type","application/x-www-form- urlencoded");如果不写会报错的,但是在html的form表单里是可以不写enc 阅读全文
posted @ 2012-12-02 15:31
你,笨啦
阅读(35008)
评论(2)
推荐(5)
浙公网安备 33010602011771号