I want to display a button for an HTML document, and each time this button is clicked it increments.
After incrementation I want that number(which is the counter to be saved) for when the file is accessed again the counter shows for the users.
What I read is that there is a function called addBtn, which on click increments how is it possible to save the incremented value
addBtn.on("click", function() {
counter.html(++value);
return;
});
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…