Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upload a file with JQueryMobile for an iphone/ipad?

I have just started looking at JqueryMobile and want to know if the following is possible?

I want to be able to select a file (similar to in html) and then show some sort of dialogue that allows me to browse to a "folder" and select the file. It would then be up to me to send some sort of AJAX command to upload it to the server (where I am using Asp.net MVC 2)

Since I do not have access to an iPhone or iPad, I was told that I would only have access to the documents folder.

JD

like image 444
JD. Avatar asked Jan 10 '11 14:01

JD.


1 Answers

You can't upload files using Safari and therefore JQueryMobile.

You can upload with ios 6 Safari as it now supports file upload from the gallery and some support for media capture

like image 180
Nicholas Murray Avatar answered Nov 15 '22 01:11

Nicholas Murray