User:Lemon.web/sandbox

<!DOCTYPE html> JavaScript localStorage demo  Save Load function mySave { var myContent = document.getElementById("myTextarea").value; localStorage.setItem("myContent", myContent); }    function myLoad { var myContent = localStorage.getItem("myContent"); document.getElementById("myTextarea").value = myContent; }