Submit a php form and display its result on div without reloading page

前端 未结 5 480
北恋
北恋 2021-02-04 22:25

First of all, thank you for your kind help.

I have tried almost everything I found on stackoverflow but I cannot get this to work.

I created a form to send a te

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 23:20

    Change:

    $(".result").appendTo(response)
    

    to:

    $(".result").append(response)
    

提交回复
热议问题