Is there a way to Save from into localstorage and reuse it again, like this logic:
form ::::::::::::saveINTO:::::::::::::::> localstorage
form <::::::::::::getFROM::::::::::::::: localstorage
after filling the form with data , I want to save the form with its contents in the localstorage, then when i want to fill other from with stored data.
<form>
First name: <input type="text" name="firstname"><br>
Last name: <input type="text" name="lastname">
<button onclick="StoreData();">store into local storage</button>
</form>
<button onclick="RenderForm();">render from data again </button>
<form id="Copyform"><form>
JSFIDDLE please JSFIDDLE answer.
UPDATED