search

Home  >  Q&A  >  body text

Front-end - How to achieve partial refresh of form like submission and ajax.

1. Development environment:

2.

3. Others:
I originally wanted to use ajax instead of form submission, and the backend would return success, failed, and then judge and render on the frontend. But my other websites seem to be all about form submission, partial refresh password errors, etc., such as this website.

怪我咯怪我咯2738 days ago881

reply all(3)I'll reply

  • 迷茫

    迷茫2017-05-16 13:45:45

    The <form> you see is actually not a form submission. . . It’s still ajax

    reply
    0
  • 怪我咯

    怪我咯2017-05-16 13:45:45

    Partial refresh uses jquery’s $.ajax asynchronous submission

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-16 13:45:45

    The password is wrong, just change display:none to show

    reply
    0
  • Cancelreply