You only have to use iFrames if the browser doesn't support XMLHttpRequestUpload.
We use jQuery, so therefore use a widget that supports all browsers:
http://blueimp.github.com/jQuery-File-Upload/
It only uses iFrames if window.XMLHttpRequestUpload does not exist.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Joe Wells
Sent: 19 July 2012 04:45
To: 'web400@xxxxxxxxxxxx'
Subject: Re: [WEB400] AJAX File Upload
Think I found the answer! iFrames!
We will see........
From: Joe Wells
Sent: Wednesday, July 18, 2012 10:17 PM
To: web400@xxxxxxxxxxxx
Subject: AJAX File Upload
I have spent the majority of the day learning how to upload files from our web pages. I could not have done it without the wealth of information I found here (especially post's by Aaron Bartell). At any rate, the upload is now working and I am a happy camper. However..........I would really like to make this function with AJAX. I have two forms on my page - one with the normal CGI data and one specifically for the file upload. I have Googled around and got lots of hits - but most seem to point to a specific solution and don't tell me HOW it is done.
So......can anyone shed some light on the subject for me? Point me to some examples? Tell me if it is even doable?
Thanks in advance for any and all replies!
Joe
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
As an Amazon Associate we earn from qualifying purchases.