ondel1()
{
 f1.value = ""
}

解决方案 »

  1.   

    ondell()
    {
       webform.fl.value="";
    }
      

  2.   

    建议用InterDev或.Net可以查看到各个HTML组件的属性与事件。
      

  3.   

    没有用的
     function ondel1()
      {
           document.form.f1.value="";
           return;
      }
      

  4.   

    楼主是不是要这样?
    <script language=javascript>
    <!--
    function download()
    {
      downloader.startDownload(document.all.file1.value,loaddata)
      alert(downloader.startDownload(document.all.file1.value,loaddata));
      //alert(document.all.file1.value);
    }
    function ondel1()
    {
    document.form.f1.value="";
    }
    </script>
    <input type=file name=file1 style="display:none" onpropertychange="download();">
    <input name="file" type="button" class="biaodan" value="文件打开" onclick="document.all.file1.click();">