43
rated 0 times
[
47]
[
4]
/ answers: 1 / hits: 21278
/ 11 Years ago, wed, november 13, 2013, 12:00:00
Is there a cross-browser compatible way of forcing page refresh when clicking the navigator back button?
i am trying to access to actualised cookies :
i have a js setcookie function that record changes in a type selector
$( #type-select ).change(function() {
var type = $(#type-select).val();
SetCookie(liste-voyage-type,type);
});
i'd like to retrieve that value when returning on this page, clicking the browser back button, using php
if (isset($_COOKIE[liste-voyage-type]))
$type=$_COOKIE[liste-voyage-type];
More From » jquery