SyntaxFix
Write A Post
Hire A Developer
Questions
Use fileReader.readAsDataURL( fileObject ), this will encode it to base64, which you can safely upload to your server.
fileReader.readAsDataURL( fileObject )