Jak przekazać dane z jednej strony do drugiej w JavaScript
var favoritemovie = "Shrek";
sessionStorage.setItem("favoriteMovie", favoritemovie);
Disturbed Donkey
var favoritemovie = "Shrek";
sessionStorage.setItem("favoriteMovie", favoritemovie);
localStorage["key"] = value;
// ... in another page ...
value = localStorage["key"];