Download The Contents Of A Javascript Variable As A Named File
I have the contents of a file in a Javascript variable. When the user clicks something (link, button, etc.) I want the 'save as' dialog to appear with a filename specified by my c
Solution 1:
Can't really say that this is my idea (I found it here of all places), but have you tried Downloadify? It will only work in the most modern browsers, but you don't really have a choice if you have no server-side component available.
Post a Comment for "Download The Contents Of A Javascript Variable As A Named File"