03 May

Ajax file upload: custom solution or ready plugin?

Tomasz Korzeniowski

Posted by Olga Grabek
Posted in: JavaScript

XMLHttpRequest has some limitation. Form submission can be one of good examples. So if you have a form which contains file input you can't simply send your form data with ajax. One the solutions is to remove this feature and send your form data in a old-school-way. But what can you do in a situation that your client really wants to have this feature? Well… you need to roll up your sleeves and dive into code.