Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
DOCTYPE html>
<html>
<body>
<div id="result"></div>
<script>
// Check browser support
if (typeof(Storage) !== "undefined") {
// Store
localStorage.setItem("myStorage", "hari Krishna");
// Retrieve
document.getElementById("result").innerHTML = localStorage.getItem("myStorage");
} else {
document.getElementById("result").innerHTML = "Sorry, your browser does not
support Web Storage...";
}
</script>
</body>
</html>