<input type=file name=ttt>
<input type=button onclick="ttt.select();document.execCommand('Delete');" value=清除file框的内容>
<input type=button onclick="ttt.select();document.execCommand('Delete');" value=清除file框的内容>
解决方案 »
- js里的index问题
- Extjs中控件的removeListener函数不管用
- Extjs桌面用户名称那里如何设置?
- var CFS = function (codeStr) 这是定义函数吗?
- 电脑中运行applet小程序,已正确安装JRE,但仍提示需重复安装JRE,该如何用JS检测电脑中是否已安装JRE了呢?
- 刚学用javascript, 问个很蠢的问题,再线等!
- 向meizz发问,能否开个讨论你的jsframework 的版子,,,,,
- 求设置checkbox为灰色状态(类似于用了disabled)的CSS语句
- 问个极菜的问题!!!
- 怎么知道页面的焦点在哪?
- 问一个<input type="file">组件的问题
- 如何在层中显示指定的网页?
清空value也可以用<input type="reset" value="reset">