时间紧,用另一种方式实现你的功能,你试试
<script >
function cancelzero(id)
{
var t = document.getElementById(id);
var nf = document.createElement("input");
nf.setAttribute("type","file");
nf.setAttribute("id",id);
t.replaceNode(nf);
}</script>
</HEAD><BODY>
<form name="bullForm" method="post" action="http://www.163.com" enctype="multipart/form-data">
<INPUT TYPE="text" NAME="" value="" size="18">
<table height="100" border="0" cellpadding="0" cellspacing="0" width="98%" align="center">
<tr>
<td width="130" height="25">&nbsp;</td>
<td><input id="tmp" name="uploadFile[0].file" type="file"/>&nbsp;&nbsp;<input type="button" value="取 消" onClick="cancelzero('tmp');return true;"/></td>
</tr>
</table>
<input name="发送" type="submit" value="submit" />
</form>
<div onclick="document.execCommand('InsertInputSubmit');">sdfd</div>
</BODY>
</HTML>