Possible Duplicate:
Save file Javascript with file name
Here is jsfiddle: http://jsfiddle.net/WwDdr/3/
On a page I have:
- an Image
- an input box with a string (comes from elsewhere, disregard this essentially)
- an input box with the URL of the image
- a span containing the file extension
How can I:
Click a button/link/whatever that will prompt a "Save As" windows, with the original filename of the image being replaced by the "title" string? Is this possible?
EDIT: Looks like there's no jq solution - can be done with a server side language however.