Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTML sent from ASP.NET
Message
De
21/05/2015 03:12:18
 
 
À
20/05/2015 10:48:10
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01620002
Message ID:
01620036
Vues:
54
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform