<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>
修改input标签type=file类型的文字
最新推荐文章于 2024-07-29 14:52:42 发布