search

Home  >  Q&A  >  body text

Front-end - thinkphp3.2.3 div partial jump success page problem

p Use jq load to load a form page. Then after the form is submitted, how can only this p jump refresh instead of refreshing the entire page? Now after I submit the form, the entire page jumps to the success page and then goes to the homepage. Please give me some advice.

滿天的星座滿天的星座2778 days ago606

reply all(4)I'll reply

  • 为情所困

    为情所困2017-05-17 09:57:25

    I think your implementation is more like pjax. You can download thinkphp+pjax from Baidu

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-17 09:57:25

    If you want to separate the p part from the entire page, you can only use iframe.
    But why not use ajax to achieve partial refresh?

    reply
    0
  • 高洛峰

    高洛峰2017-05-17 09:57:25

    Then don’t use form, use ajax to submit

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-17 09:57:25

    Your p is all uploaded using jq load, why don’t you use ajax for submission?

    reply
    0
  • Cancelreply