Home  >  Article  >  Web Front-end  >  Clear the value of the upload control input file_form effects

Clear the value of the upload control input file_form effects

WBOY
WBOYOriginal
2016-05-16 18:23:541148browse
Copy code The code is as follows:

var obj=
obj.outerHTML = obj.outerHTML.replace(/(value="). "/i, "$1"");
Statement:
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