tab_functions.js
//do the saving outside the button
do the saving outside the button
do the saving outside the button
function save(key)
{
    var values = document.getElementById(key).innerHTML;
    localStorage.setItem(key,values);
}
function save ( key ) { var values = document . getElementById ( key ) . innerHTML ; localStorage . setItem ( key , values ) ; }
do the saving outside the button
do the saving outside the button