Perfect!
($('h1').first().text(localStorage.getItem('categoryName')));
Thanks!
Perfect!
($('h1').first().text(localStorage.getItem('categoryName')));
Thanks!
how does the categoryName or the local storage value get read by the javascript variable?
So I can use this?
($('h1').first().text(categoryName));
On the previous page, I need to set the value of categoryName and store it as a local storage variable.
Then "on load" run the javascript?