修改input标签type=file类型的文字

 

 

<form name="form" method="post" action="javascript:;">
            <input type="file" name="picpath" id="picpath"style="display: none;"
                onchange="document.form.path.value=this.value" multiple="multiple" accept="image/*" />
            <input name="path" readonly>
            <input type="button" value="上传照片" onclick="document.form.picpath.click()">
</form>

 

posted @ 2021-04-23 14:34  web_cnblogs  阅读(833)  评论(0)    收藏  举报