我想用input[type=file]来获取图片,但是不想显示默认title属性,如何使title属性不显示隐藏起来呢?
如何去掉input框的title
input
title
写个含有一个空格的title属性:
<input type="file" title=" ">
设置title为 ''和当鼠标悬浮上去的时候设为 '' 都不行
<div><input type="file" accept="image/*" onmouseover="this.title=''" >修改头像</div> <div> <input type="file" accept="image/*" title="">修改头像</div>