[jQuery] Re: File upload of a form inside another form

2008-06-17 Thread Giovanni Battista Lenoci
Mike Alsup ha scritto: There's a ton of them. after, before, insertAfter, insertBefore, append, prepend, etc http://docs.jquery.com/Manipulation Ex: $('#myElementToMove').insertAfter('#myDestinationDiv'); Ups... I was using these metodhs to inject new DOM elements, but I never tought

[jQuery] Re: File upload of a form inside another form

2008-06-16 Thread Giovanni Battista Lenoci
Giovanni Battista Lenoci ha scritto: Put your nested form after the parent form, and hide it. Keep the upload-elements in the parent form and move them to the upload-form on submit (using a different submit button). Clone/move back to the parent form after the submit for more files.

[jQuery] Re: File upload of a form inside another form

2008-06-16 Thread Mike Alsup
I was tinking that maybe moving the input element could works, but I'm looking in the doc and I cant find a method for moving a DOM element. There's a ton of them. after, before, insertAfter, insertBefore, append, prepend, etc http://docs.jquery.com/Manipulation Ex:

[jQuery] Re: File upload of a form inside another form

2008-05-25 Thread Jörn Zaefferer
I don't have a drop-in solution, just an idea to start with: Put your nested form after the parent form, and hide it. Keep the upload-elements in the parent form and move them to the upload-form on submit (using a different submit button). Clone/move back to the parent form after the submit for

[jQuery] Re: File upload of a form inside another form

2008-05-25 Thread Giovanni Battista Lenoci
Put your nested form after the parent form, and hide it. Keep the upload-elements in the parent form and move them to the upload-form on submit (using a different submit button). Clone/move back to the parent form after the submit for more files. Thank you for your answer Jörn, It works :-)