如果我尝试调用$('#basicForm').submit();
where basicForm
is
<form method="post" action="http://127.0.0.1:6789/BasicUploadFile/" id="basicForm"
enctype="multipart/form-data" target="basicuploader_iframe">
<div id="basicFilesInputContainer" class="basicInputContainer">
<div class="mybutton btn-green basicAddButton" id="basicAddButton">Add file(s)</div>
<input type="file" name="myFiles" size="200" multiple class="basicInputButton" id="basicUploadFile">
</div>
<div id="basicUploadFileSubmit">
<div class="basicSubmitButton mybutton btn-blue" >Upload files</div>
<input type="submit" id="basicUploadFileSubmitBtn" style="visibility:hidden" >
</div>
<input type="reset" class="mybutton btn-red basicDelButton" value="Delete files" name="resetBtn" id="basicUploadFileReset">
</form>
它在每个浏览器(Chrome、Opera、Safari)中都可以正常工作,但在 FireFox 中则无法正常工作。更让FF崩溃!!!是FF错误吗?谢谢。