摘要:
由于<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") 阅读全文
摘要:
代码如下:<input type=button value=刷新 onclick="history.go(0)"> 代码如下:<input type=button value=刷新 onclick="location.reload()"> 代码如下:<input type=button value=刷新 onclick="location=location">代码如下:<input type=button value=刷新 onclick="window.navigate(locat 阅读全文