Home > Web Front-end > JS Tutorial > body text

A brief discussion on the problem that using attr to modify form enctype in jquery does not work

高洛峰
Release: 2016-12-05 13:18:34
Original
1202 people have browsed it

To upload files, you need to set the enctype of the form element to 'multipart/form-data'. You can use jquery's attr method to test successfully on the newer mainstream browsers, but it will not work on IE. Later, I checked that Internet Explorer 6, 7, and 8 (9+ was not tested because the development machine is

The above article briefly discusses the problem that jquery uses attr to modify the form form enctype and it does not work. This is all the content that the editor has shared with you

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template