file控件如何reset
发表于:2007-06-30来源:作者:点击数:
标签:
<body>
<FORM name="form1">
方法1:<input type="file" name="f"><input type=button value=reset onclick="f.outerHTML=@#<input type=@#file@# name=@#f@#>@#">
</FORM>
<FORM name=form2>
方法2:<input type="file" name=f2>
<input type=button value=reset onclick="f2.select();document.execCommand(@#delete@#)">
</FORM>
</body>
原文转自:http://www.ltesting.net