I am using a mobile page which gets data from server on load. Same page is having "+" button which takes you to another page. Next page is having a back button "<=" to go back the previous page, but when we click back button it goes to prev page , but don't load the data.
I figured out this code is not getting executed when user comes back.
I am using Jquery Mobile Autocomplete and able to add my data to list using ajax call.
It results me to add list items in UL, initially they comes with class "ui-screen-hidden".
I have code to remove the hidden class and add my own classes, but it will not get updated on browser.
While debugging i can see class changes in UL items, but when it renders it renders with initial hidden classes which leads to hidden autocomplete ul li.