Skip to content Skip to sidebar Skip to footer

Save An Image To The Local Folder From The Website By Clicking A Link Or Button In Mobile Browser

How can I save an image from the webpage by clicking on a link in smart phone, using JavaScript, jQuery or using HTML controls? The sample code is as follows: Sav

Solution 1:

Usually browsers have their own handling when you click a link which points directly to a downloadable file: either asks you where you want to save it, or it downloads the file to a predefined location. I'm not sure if you can override this.


Solution 2:

For example, iOS shows you the prompt to save the file when you press and hold onto the image. I don't think that you could do that just like in a desktop browser, like httprequest or response.binarywrite (c#).


Post a Comment for "Save An Image To The Local Folder From The Website By Clicking A Link Or Button In Mobile Browser"