Created
May 20, 2016 15:13
-
-
Save wallace7souza/1df9b7e364515fa2d49c6433d09ca854 to your computer and use it in GitHub Desktop.
Save string as file with javascript on browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.open('data:text/csv;charset=utf-8,' + escape(YOUR_VARIABLE_TEXT)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment