Created
October 9, 2015 20:32
-
-
Save bjoerntx/d0931d114d7f448c8824 to your computer and use it in GitHub Desktop.
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
// Stores the content of the | |
// hidden field to the local storage (Base64 string) | |
function storeDocument() { | |
localStorage.document = $("#hiddenDocument").val(); | |
showMessage("Document has been stored to local storage."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment