function Button1_onclick() { alert("in button"); var myValue = TextArea1.value.toString(); localStorage.setItem("myValue", myValue); onclick = "location.href='page2.html'" }
function Button1_onclick() { var myValue = localStorage.getItem("myValue"); TextArea1.innerHTML = myValue; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)