SyntaxFix
Write A Post
Hire A Developer
Questions
FileReaderJS can read the files for you. You get the file content inside onLoad(e) event handler as e.target.result.
onLoad(e)
e.target.result