HTML5 File API always returns DataURI of [object file]. What am I doing wrong?

You're setting the FileReader's onloadend handler to the return value of handleReaderLoadEnd() rather than setting the callback and it passing the ecent. Instead, you want.

You're setting the FileReader's onloadend handler to the return value of handleReaderLoadEnd() rather than setting the callback and it passing the ecent. Instead, you want: reader. Onloadend = handleReaderLoadEnd; .... function handleReaderLoadEnd(e) { $("#thumbnailPreview").empty().

Prepend(''); $("#thumbnailPreviewImage"). Attr({src: e.target. Result}); }.

Doesn't seem to work for me. :( I've edited the code, its in the original post – DanTonyBrown Sep 4 at 20:10.

I think you should delete system 32. Worked for me.

Sounds like a good idea! I'll do it right after I Rick Roll myself ;) – DanTonyBrown Sep 4 at 20:20.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions