Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DHTML sent from ASP.NET
Message
From
21/05/2015 03:12:18
 
 
To
20/05/2015 10:48:10
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01620002
Message ID:
01620036
Views:
55
This message has been marked as a message which has helped to the initial question of the thread.
>>Might depend on the browser. See: http://stackoverflow.com/questions/2638292/after-travelling-back-in-firefox-history-javascript-wont-run
>
>Thanks, I am not sure it is the same thing. In my case, this is not the javascript being disabled but the HTML that was added to the page which is not persisting in the cache. Basically, the cache stores the content of the page initially loaded. But, it does not consider the added HTML.

I see from other posts on this thread that the user may have added multiple content. In that case it seems to me that you would need to store the current html (or serialized DOM) when the user navigates away from the page and then restore it on return.

You could keep this in local or session storage or, for HTML5, use pushstate() (or replacestate()) and popstate()

See HTML5 history object : https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform