Arne, I agree with Dan that this sounds like a config issue. I have never seen the file uploads open a new tab like you describe and if you figure out why it's happening please send me a note about your findings.
Just to clarify the IFrame upload logic; it is synchronous. The logic simply changes the target attribute of the form and then invokes the form's submit method which is a blocking call. The target is set to a hidden IFrame which is where the server response is written. I do use a short setTimeout before the submit so that any UI changes (like a Please Wait message) can be rendered. Also, all the expected AJAX callbacks are invoked, but these are synthetic and use a mock XHR object. Ultimately, when form.submit() is called you'll be waiting for that operation to complete. Mike On 8/7/07, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote: > > Hi Dan, > > yes, exactly this is what I meant. Well, tested it in IE7 now and it works > correctly, so there must really be a problem with my firefox. Well, I don't > have that much plugins installed, mainly some webdev plugins like firebug, > but it has to do something with my config. > > So thanks again for your help, I got it generally working now :-) A nice > little upload progress meter with jQuery and APC (Alternative PHP Cache)! > > Greetings > > Arne > > > -----Original Message----- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Dan G. Switzer, II > > Sent: Tuesday, August 07, 2007 10:27 PM > > To: jquery-en@googlegroups.com > > Subject: [jQuery] Re: Form Plugin: Submitting async? > > > > > > Arne, > > > > >thanks for that fingertipp, it makes me understand its behaviour. But > > >nonetheless there's now the question: why is this iframe not opened as > > an > > >iframe but as a new tab? What can force a modern browser (Firefox > > 2.0.x) to > > >open an iframe in a new tab? > > > > > >I'm a bit confused about that... > > > > Are you saying that when you use the Form Plug-in, the IFRAME is opened > > in a > > new tab? > > > > If so, that's got to be a Firefox Plug-in you have installed. > > > > -Dan > > >