How to store all html input value : I want store html input values somewhere when i click on save button, so when i'll reload page or reload browser they would be same as i left. i don't know how to do it. I'm newbie in Javascript and MySQL.

HTML Code:

 

    <p>
    	<input type="text" id="name1" class="input-class" disabled="true" value="Cigarette" />
        <input type="number" id="input1" class="input-class" value="1" />&nbsp; - Amount
        <input type="number" id="input2" class="input-class" value="1" />&nbsp; <input type="button" value="Sold" onClick="gamokleba()" />
        <br>
        <input type="text" id="name2" class="input-class" disabled="true" value="Winston" />
        <input type="number" id="input11" class="input-class" value="1" />&nbsp; - Amount
        <input type="number" id="input21" class="input-class" value="1" />&nbsp; <input type="button" value="Sold" onClick="gamokleba2()" />
       
       </p>
       
      <input type="button" value="Save All Value" onClick="..." />

JAVASCRIPT Code:

    function gamokleba (value) {
    	document.getElementById('input1').value = document.getElementById('input1').value - document.getElementById('input2').value;
    }
    
    
    function gamokleba2 (value) {
    	document.getElementById('input11').value = document.getElementById('input11').value - document.getElementById('input21').value;
    }

Please help me. Sorry for noob question.