How to upload a file using jQueryMobile for iphone / ipad?

I just started watching JqueryMobile and want to know if the following is possible:

I want to be able to select a file (similar in html) and then show some kind of dialog that allows me to go to the "folder" and select the file. Then I will have to send some kind of AJAX command to upload it to the server (where I use Asp.net MVC 2)

Since I do not have access to the iPhone or iPad, they told me that I will have access to the document folder.

Jd

+6
jquery jquery-mobile ios asp.net-mvc
source share
3 answers

You cannot upload files using Safari and therefore jQueryMobile.

You can download using ios 6 Safari as it now supports downloading files from the gallery and some support for media capture

+8
source share

I'm not sure if it is possible to send files, but look at PhoneGap . It provides file system access to applications written using html / js

Just to be clear - Phonegap support for iOS is pretty recent at the moment.

+3
source share

Obviously, with Safari, iOS 6 will be downloading files fine in the near future. I am developing mobile beta web applications using <input type="file" /> and it works great!

+2
source share

All Articles