search

Home  >  Q&A  >  body text

javascript - After filling in the content and selecting the address, the order page jumps, but the content returned is gone. What should I do?

After filling in the content on the order page, click Select Address to jump to the page. After selecting it, return to the original page. The original content is gone. What should I do?
How is it usually done? I thought of making it a single page, but The selection is already multiple pages, jumping around?

为情所困为情所困2710 days ago696

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-06-15 09:23:26

    If the page where you select the address needs to jump, you can cache the val of the form on the order page, but it is recommended that you select the address on the order page. You can select the address through a pop-up box or the like, or select the address via select option

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-15 09:23:26

    localStorage, store data locally

    reply
    0
  • Cancelreply