There is no way to upload files using AJAX. How Gmail does it then? Well, the answer is using <iframe>. Here is a post that describe this technique in detail. Infact we are using this technique from months, obviously inspired by Gmail. 😉
update: Technically speaking, it’s not Ajax. Just an iframe hack. You are absolutly right Pratik.
Technically speaking, it’s not Ajax. Just an iframe hack.
So there is no way to upload files using Ajax.
Some of my AJAX based work –
http://padmanijain.googlepages.com/myexperiments.html
I have used iframes here.
Hi Pratik,
Obviously this is not AJAX. Infact I have mentioned in my very first line that there is no way to upload files using AJAX.
“How Gmail does it then?”
Does what ? 😉
I love how box.net people do it though. Pretty slick UI.
Oh, and did not know about it. Thanks for the information …