html - How to record user actions and then re-execute them in JavaScript? -
I have a web page (all the client-side code) where the user has some The page elements can add dynamic. / P>
For example, they can click the button called "Add Group" and input a group name. This is a What do I want to be able to store a user and if they are something close & amp; Open the window again or reload the page For example, if they add a group "foo" and refresh the page, then the page is all html / javascript, "fu" is lost. Is there any way that I can record their actions using them again by using caching / cookies? Or do I need to do it any other way? Is this also possible? To open and close this data around, you You can see what the user clicks by adding the elements you do. The functions you have been able to put in the context of clicked items can be put in an array. Then you can click on them when you want to use. In the form of text for users to login when the data is submitted, make sure it is in the form of a string in local storage. On page load, you can keep this data wherever you want, then give it elements to internal HTML and voice, you can recreate the page state. & lt; div class = "customGroup" & gt; , which will show the group as "title" among some other buttons, which they have created in the newly created
& lt; Div & gt; .
Comments
Post a Comment