Hi and thanks for answering. I will manage to arrange my script according to these tow alternatives, I'll try both methods. All the best and regards!
On Nov 13, 2:18 pm, Eric <[email protected]> wrote: > Hi, > > You may try to observe the iframe's onload since after a form > submission, the server is supposed to return a page. > Of course, remember that this event will also be fired on the iframe's > initial loading so you'll have a little extra plumbing to do. > > Another possibility would be for the server to return something like: > Event.fire(parent.document,"form:complete"); > and to observe this event on your document, but it may not be that > simple to send event to/from iframe (I never tried). > > Good luck, > Eric > > On Nov 12, 1:37 pm, Stucture_Ulf <[email protected]> > wrote: > > > I'm using document['formID'].submit() to submit a multipart/form-data > > form for multiple files upload. I want to observe the upload process > > and fire additional events once the file/files has been uploaded. I'm > > using a iframe for the upload form and looking for a way to observe > > the onComplete state of the submitted form. I'm not using the > > Ajax.Request since I'm uploading files through a iframe...feels like > > there's a simple and basic solution I've missed..... Help appreciated --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
