Hello, Mike!
You saved my day! :)
This version worked perfectly for me!
Thanks for the fast reply!
Thursday, May 8, 2008, 8:05:19 PM, you wrote:
>> 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?
MA> Thanks for reporting this. It seems to be a regression (or at least a
MA> timing change) in the Opera 9.2.x line. If I use Opera v9.1
MA> everything works fine, but the 9.2+ fails. Can you try this version
MA> of the form plugin to see if it works for you?
MA> http://malsup.com/jquery/form/jquery.form.2.09.js
MA> Mike
---------------------------------------------
Denis Kosarev, [EMAIL PROTECTED]