I am just planning on creating a portfolio website and before going any further I want to see if I can do this
This is a simplified example:
I have a button and on click I do this
jQuery('<div/>', {
text: 'something'
}).addClass("test").appendTo('#left');
That works great,
However when the page refreshes it goes back (without showing the test class). How and what is the best way to create the whole website dynamically but where if the page reloads it would still have the test class on the page
thanks
The only ways is from :
Keep in mind that the “changes” in your example are done from client side