How to send a form without refreshing the page?

后端 未结 4 1159
梦毁少年i
梦毁少年i 2021-01-16 15:04

I don\'t know PHP.

I don\'t want the user to go to http://www.example.com/feedback-thanks.html after sending the form. What I want is text below the sen

4条回答
  •  广开言路
    2021-01-16 15:37

    I'd suggest using a Javascript framework like jQuery and use it's AJAX function. Lots of tutorials to find on the internet if you Google for it.

    Start at jquery.com

提交回复
热议问题