Skip to content Skip to sidebar Skip to footer

Js Filereader Not Working In Safari It Is Working Fine In Chrome

I have created function to display image please help on this if you have any alternative solution. admin.previewImage = function(input,selector) { if (input.files && i

Solution 1:

Safari doesn't support for js file reader

So I tried this

https://github.com/dcneiner/Downloadify

It Works for me

Solution 2:

The FileReader API is only available as of Safari 6.0 However, if it's important for you to have this functionality in all browsers, you could test for the availability of the FileReader API: if(window.FileReader) { //do this} else {//the browser doesn't support the FileReader Object, so do this}

Post a Comment for "Js Filereader Not Working In Safari It Is Working Fine In Chrome"