<input type=file name=ttt>  
<input type=button onclick="ttt.select();document.execCommand('Delete');"
  value=清除file框的内容>http://community.csdn.net/Expert/topic/3146/3146620.xml?temp=.5954706