Normal for file upload i do
<form method='post' enctype='multipart/form-data'>
<p><input type='text', name='name'/></p>
<p><input type='file', name='image'/></p>
<p><input type='submit', value='Wyślij'/></p>
</form>
What if I want to submit this form without reloading the page?
I can use the "new FileReader ()" and bind base64 to $ scope, but it does not work with large files.
Can I upload my form without reloading the page as described above?
source
share