摘要:
由于<input type="file">的value属性石只读的,所以要取消选择只能通过其他途径,此处有2种方法JS代码 <input type="file" id="fileupload" name="file" /> 第一种: (display:none时不能用) var obj = document.getElementById('fileupload') ; obj.select(); document.execCommand("delete") 阅读全文
posted @ 2013-03-06 14:41
panlovestan
阅读(1540)
评论(0)
推荐(0)
浙公网安备 33010602011771号