Ajax file upload

  • Use a hidden iframe and set your form’s target to that iframe’s name. This way, when the form is submitted, only the iframe will be refreshed.
  • Have an event handler registered for the iframe’s load event to parse the response.

More details on my blog post: http://blog.manki.in/2011/08/ajax-fie-upload.html

Leave a Comment