Welcome Guest, Not a member yet? Register   Sign In
Ajax / Iframe File Upload - Working Example!
#8

[eluser]Jeremy Gimbel - Conflux Group[/eluser]
I'm still a little confused about what you mean.

What I have done (I can try and post some code later) is this:

Main document has a form.
That form has a hidden field for the filename
Then there's an iframe, with a file field.
The file field has JavaScript to submit on change
When submitted, the file uploads and JavaScript update the parent's filename field with the filename for the uploaded file.
In my iframe, I've placed a file upload button image over top of the file field, and made the iframe the size of the button, so it appears as just a button in the parent.


Messages In This Thread
Ajax / Iframe File Upload - Working Example! - by El Forum - 03-22-2010, 08:46 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 03-24-2010, 12:02 PM
Ajax / Iframe File Upload - Working Example! - by El Forum - 05-19-2010, 09:37 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 05-19-2010, 10:00 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 05-19-2010, 10:19 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 05-19-2010, 10:22 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 05-19-2010, 10:30 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 05-19-2010, 10:36 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 05-19-2010, 10:42 AM
Ajax / Iframe File Upload - Working Example! - by El Forum - 03-21-2011, 12:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB