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
Post a Comment