weixin_33693070 2011-08-26 10:00 采纳率: 0%
浏览 17

如何使用哈希标签创建网址?

我正在开发AJAX应用程序,并希望使用哈希标签创建网址。当用户打开此类页面(诸如#date=27.02.1990&Name=Alex之类的东西)时,应用程序将恢复其状态。有没有可用的库?

  • 写回答

3条回答 默认 最新

  • weixin_33670786 2011-08-26 10:07
    关注

    Something like the Asual jQuery Address plugin should be able to help. It allows you to perform an action when the hash in the url changes. You can use this to load the appropriate content for the data in the hash via ajax.

    评论

报告相同问题?