Issue in loading the same page on click event
Hi
I'm having a page defined in a way it uses the local storage value in the page elements. I have a button and when I click it, I change the local storage value and try to load the same page. I expect it to reload with the new local storage value I set. I know this won't work with the normal page navigate option, so I used the following Java script:
$.mobile.changePage("ItemListPage.html", {
allowSamePageTransition: true,
transition: "slide",
reloadPage: true
});
This reloads the page without any issues and I can see the local storage value being changed to the new value- but the page doesn't load the elements properly. Do you find any issues in my approach given above? Could you give some idea in this regards Pls? Thanks.