Jump to content

Upload file(s) via ajax


Don E

Recommended Posts

Hello everyone,

 

I've been searching around on the internet as to how to upload a file via ajax. I read that it is not possible but one way would be using iframe which I read is considered bad practice. I read up on other methods as well but many of the methods aren't really cross browser friendly and/or simply don't work. Any suggestions would be great. As I'm sure most are aware, facebook allows the user to upload an image without the page refreshing and I'm sure whatever method/way they are using is cross browser friendly.

 

Thanks.

Link to comment
Share on other sites

This is just a little advice, you can check how facebook or other pages do it by checking the network traffic.

chrome has developer tools to check that, so does IE or firebug in firefox

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...