search

Home  >  Q&A  >  body text

javascript - html5 mobile page rollback problem

The first page is a product list. The list is dynamically generated through ajax. When I select a product, jump to the details page, and then return to the product list page, the list page will be reloaded, and also Not where I clicked,

How to solve the problem of page rollback and reloading the page, and return to the specified position when clicked

滿天的星座滿天的星座2715 days ago745

reply all(1)I'll reply

  • 漂亮男人

    漂亮男人2017-06-12 09:34:15

    You can use window.location.hash to save the list location

    reply
    0
  • Cancelreply