I have a web site/app (my own) on a server which I access from Safari on ipad. This web site has a web form. I used to upload file (such as a picture taken from camera or select a file from photo library) without any problems until I upgraded to ios 11.4.1. Now file upload just hangs and eventually times out. I searched on google and is not clear what is needed to fix the problem.
My web form uses <input type="file" ....>
Then I have Upload button and I click on it, then java script uses jquery's ajax call to a Rest Web Service on my webapp to upload file. html code fragment is shown below:
<thead>
<tr>
<th class="col-xs-4">File to Uplaod</th>
<th class="col-xs-4">Save As</th>
</tr>
</thead>
<tbody>
<TR>
<TD> <input class="filename file" name="files[0]" type="file"></TD>
<TD> <input id="frname[0]" type="text" class="newfilename form-control input-md" placeholder="Enter a file name with extension" ></TD>
</TR>
<TR>
<TD> <input class="filename file" name="files[1]" type="file"></TD>
<TD> <input id="frname[1]" type="text" class="newfilename form-control input-md" placeholder="Enter a file name with extension"></TD>
</TR>
<tbody>
</TABLE>
</div>
<br>
<input type="button" class="btn btn-info" onclick="AddMoreFile('attachTable')" value="Add More Files" />
<div class="h-divider"> </div>
<section id="uploadattach">
<h3> </h3> <!-- used to creare some space -->
<div class="form-group">
<div class="col-xs-offset-4 col-xs-8" class="row">
<button id="uploadattachbut" type="submit" onclick="doUploadButtonAjaxPost()" class="btn btn-primary"> Upload </button>
</div>
</div>
</section>
</form>
How can I fix the problem so file will be loaded. Can some security seeting changed in Safari or ios somewhere to fix the issue.
Appreciate any help.
Prem
My web form uses <input type="file" ....>
Then I have Upload button and I click on it, then java script uses jquery's ajax call to a Rest Web Service on my webapp to upload file. html code fragment is shown below:
<thead>
<tr>
<th class="col-xs-4">File to Uplaod</th>
<th class="col-xs-4">Save As</th>
</tr>
</thead>
<tbody>
<TR>
<TD> <input class="filename file" name="files[0]" type="file"></TD>
<TD> <input id="frname[0]" type="text" class="newfilename form-control input-md" placeholder="Enter a file name with extension" ></TD>
</TR>
<TR>
<TD> <input class="filename file" name="files[1]" type="file"></TD>
<TD> <input id="frname[1]" type="text" class="newfilename form-control input-md" placeholder="Enter a file name with extension"></TD>
</TR>
<tbody>
</TABLE>
</div>
<br>
<input type="button" class="btn btn-info" onclick="AddMoreFile('attachTable')" value="Add More Files" />
<div class="h-divider"> </div>
<section id="uploadattach">
<h3> </h3> <!-- used to creare some space -->
<div class="form-group">
<div class="col-xs-offset-4 col-xs-8" class="row">
<button id="uploadattachbut" type="submit" onclick="doUploadButtonAjaxPost()" class="btn btn-primary"> Upload </button>
</div>
</div>
</section>
</form>
How can I fix the problem so file will be loaded. Can some security seeting changed in Safari or ios somewhere to fix the issue.
Appreciate any help.
Prem