javascript - jQuery DOM Peristance with the Native Browser Back Button -


i'm using jquery append dom elements page (not single page application), regular web page. when append dom elements div, such this:

$("#id").append("<p>somehtml</p>"); 

and user navigates page clicking link, uses native button on browser appended dom elements not there. there anyway force the dom updated , cached browser on change?

update realize everoyne recommending question 2009 (ajax, button , dom updates), doesn't hold true today. unload events don't trigger cache invalidation, , examples don't work.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -