Same page processing

后端 未结 6 697
我在风中等你
我在风中等你 2020-12-17 00:30

How can process a form on the same page vs using a separate process page. Right now for signups, comment submissions, etc I use a second page that verifies data and then su

6条回答
  •  不思量自难忘°
    2020-12-17 01:35

    You could of course explore looking into AJAX requests, where you would make an asynchronous call to your handler script, and then update then update the sending page with a success message. This gives the impression of "Same page processing" i.e. The page doesn't have to refresh.

    It really depends on the effect you are trying to achieve however.

提交回复
热议问题