Answers for "storage javascript"

2

javascript save data to local storage

// Store
localStorage.lastname = "Smith";
// Retrieve
document.getElementById("result").innerHTML = localStorage.lastname;
// Remove
localStorage.removeItem("lastname");
Posted by: Guest on December-11-2020
0

localstorage

localStorage.removeItem('myCat');
Posted by: Guest on August-09-2020

Code answers related to "storage javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language