<form action="upload.aspx" enctype="multipart/form-data" id="ajaxUploadForm" method="post"> <input type="file" name="fileBase" id="fileBase"><input type="submit" value="send" /> </form> $( "#ajaxUploadForm" ).ajaxForm( { iframe: "true",cache: false, success: function ( response ) { var msg = $.parseJSON( $( response ).val() ); alert ( msg.status); } }} );
When I try to submit an ajax form, I have an error (only in Firefox 4):
"uncaught exception: [Exception ..." The component returned a failure code: 0x805e0006 [nsIDOMHTMLFormElement.submit] "nsresult:" 0x805e0006 () "location:" JS frame :: http: //localhost/Scripts/jquery/jquery.form. js :: doSubmit :: line 295 "data: no] Line 0"
I am using jquery 1.5.1 and jquery.from 2.67
thanks for any suggestion
source share