<script>
function cls(){
xxx.focus();
document.execCommand("selectall");
document.execCommand("Delete");
}
</script><input type=file name=xxx>
<input type=button onclick="cls()" value=清楚>可以给分嘛?
function cls(){
xxx.focus();
document.execCommand("selectall");
document.execCommand("Delete");
}
</script><input type=file name=xxx>
<input type=button onclick="cls()" value=清楚>可以给分嘛?
解决方案 »
- vbscript不出alert弹窗,急求答案!!
- 图片上移
- post提交
- javascript+asp.net验证用户名和密码
- 如何通过javascript获得不同记录的数量
- 请问javaScript有没有专门的IDE开发工具之类,就像VS2003这样的有智能提示或者帮助很详细的
- 用表格绑定XML数据岛时,如何判断数据绑定已经结束?
- 日期减去天数等于第二个日期?怎么算?
- 我在ASP页面中变量在页面ONLOAD 时为什么不能得到它的值??
- 急:用JAVASCRIPT或VBSCRIPT可能读出IE中存储的证书的内容吗?
- 一个关于frame的问题(急,请高手指点)
- 如何实现一个下拉菜单,选择mp3 或者mid后,播放不同的音乐?
txzy,我试了你的方法!
没有成功,打页页面时,报系统程序错误,ie的反应变慢~!
然后不得不halt, 我用ie 5.5
方法可以实现!!
很好