Saving JavaScript
Hi, in my quiz game i have 4 levels with 21 questions and when I guess 21 questions of one level the app run the following javascript:
var button = document.getElementById("j_399").childNodes[0];
button.childNodes[0].innerHTML = "Level 2 - unlocked";
document.getElementById("j_399").disabled = false;
And everything runs correctly. But when I exit the app and start it again the javascript has not saved. Is there any method to save the function when I exit and start again.