> I've got a form that uploads a file. It's an AJAX form, initialized by the
> following code:
>
> $(document).ready(
> function()
> {
>  $('#filer').ajaxForm(
>  {
>  target: '#vars',
>  beforeSubmit: function(formData, jqForm, options) { alert('sending'); },
>  success: function(responseText, statusText) { alert(responseText); }
>  });
> });
>
>  an the form is:
>
> <form id='filer' name='filer' action='catcher.php' method='post'
> enctype='multipart/form-data'>
>  <input type='file' name='upload'><br>
>  <input type='submit' value='Load'>
> </form>
> <div id='vars'></div>
>
>  The problem: responseText is empty in Opera after submit. It is filled by
> the correct response of catcher.php in IE, FF and Safari. The contents of
> catcher.php means nothing - I tested it with only an 'ok' in that file -
> Opera shows noting, the other browsers show 'ok'.
>
>  I am using the lates stable versions of all browsers and latest jquery.js +
> jquery.form.js.
>
> What could that be?

Thanks for reporting this.  It seems to be a regression (or at least a
timing change) in the Opera 9.2.x line.  If I use Opera v9.1
everything works fine, but the 9.2+ fails.  Can you try this version
of the form plugin to see if it works for you?

http://malsup.com/jquery/form/jquery.form.2.09.js

Mike

Reply via email to