jquery - graceful fallback to normal file uploader on mobile devices (windows mobile issue) -
I dragged a good html5 and tried to apply the drop. Everything works well, but it does not work on mobile devices (not surprisingly because they do not have a desktop). That's why I tried to fallback well on the normal file uploader, when a user clicks on a dropable area.
I used only one solution, I know (so if you know something better, please tell me). Actually I have a dropable area and a Well, it works in the iPod, iPad, iPhone then I found out that the problem with Android (I can not use the As you can see here And, it works fine Android, and iOS device, but It still fails on Windows Phone (Nokia Lumia 520). Does anyone know how to fix a problem? P.S. I also see that the popular library also does not work on Windows Phone, so I'm almost desperate here. I was surprised to find that you File can not upload any file on any file below the file upload functions in the browser, assuming that you have full access file system. You do not have access to the file system on the phone with WP. & lt; Input type = "file" & gt; which is hidden when I click on an area, called input.
display: any ,
Visibility: must use hidden ).
& lt; div id = "dropzone" & gt; & Lt; / Div & gt; Click & lt; Input id = "file" type = "file" /> $ ('# Dropzone') ('Click', function () {$ ('# file'). Click ();})
Windows Phone 8.1 : < / P>
Comments
Post a Comment