开发者

How to maintain ajax results on Back

开发者 https://www.devze.com 2023-03-30 14:35 出处:网络
I have a page in which I have 3 tabs. a 3-step wizard. on the last step - I have an AJAX call to fetch data.

I have a page in which I have 3 tabs. a 3-step wizard. on the last step - I have an AJAX call to fetch data. once clicked on each of the items in this data, I am redirecting the user to another page.

I want to maintain the wizard status (including开发者_StackOverflow社区 ajax results) when the user presses BACK on the browser.

What is the best method to achieve this? using #step on the URL????

Thanks


Use the history object with a fallback on the hash.

Manipulating the browser history

0

精彩评论

暂无评论...
验证码 换一张
取 消