How to keep the browser history in sync when using Ajax?

后端 未结 8 1781
無奈伤痛
無奈伤痛 2020-11-29 07:48

I\'m writing a simple photo album app using ASP.NET Ajax.
The app uses async Ajax calls to pre-load the next photo in the album, without changing the URL in the browser.

8条回答
  •  生来不讨喜
    2020-11-29 08:13

    If you are using Rails, then definitely try Wiselinks https://github.com/igor-alexandrov/wiselinks. It is a a Swiss Army knife for browser state management. Here are some details: http://igor-alexandrov.github.io/blog/2013/07/11/the-way-to-wiselinks-1-dot-0/.

提交回复
热议问题