Matej Posted December 2, 2014 Share Posted December 2, 2014 Hi , how can i create for example element (using plain javascripit) which stays on page after refresh (basicly "forever") , i know its possible using AngularJs , but angular is just javascript library so it should be possible with plain javascript too. I cant find any answer/tutorial , thanks for answers Link to comment Share on other sites More sharing options...
thescientist Posted December 2, 2014 Share Posted December 2, 2014 where did it "go" in the first place? are you referring to something added dynamically after page load? Not sure why you think Angular can do it. It sounds like you need to actually explain where the element comes from in the first place. Link to comment Share on other sites More sharing options...
justsomeguy Posted December 2, 2014 Share Posted December 2, 2014 Any permanent changes to a page need to happen on the server, not Javascript. The best you can do with Javascript is have some code to always add the element to the page when the page loads, but if that code changes then that also needs to happen on the server. Link to comment Share on other sites More sharing options...
Matej Posted December 2, 2014 Author Share Posted December 2, 2014 got it , thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now