This is driving me nuts. I'm using the File Upload. It works fine in Chrome, but in FF4 and IE9 it executes the beforeSubmit, but never reaches the success, and the file never reaches the server.
Is there any place you can suggest I look?
[UPDATE]
Some more details, I can confirm now that the file is being uploaded, but the success call is never triggered. I'm spending time tracing thru the Form plugin to identify the problem, but any suggestions on where to look would be appreciated!
[UPDATE]
Can someone give some idea of this code and how it functions?
- var fn = options.replaceTarget ? 'replaceWith' : 'html';
$(options.target)[fn](data).each(oldSuccess, arguments);
I added some log() statements, and it gives me this info:
- $(options.target)[fn]=function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)}
Somehow this is supposed to send the received HTML to the target div, but I don't understand what he's doing in the code. Also, the oldSuccess is my supplied success function, but I don't see how the .each() works with it.