Submit form without page reloading

后端 未结 17 2471
无人及你
无人及你 2020-11-22 00:45

I have a classifieds website, and on the page where ads are showed, I am creating a \"Send a tip to a friend\" form...

So anybody who wants can send a tip of the ad

17条回答
  •  不知归路
    2020-11-22 01:11

    Have you tried using an iFrame? No ajax, and the original page will not load.

    You can display the submit form as a separate page inside the iframe, and when it gets submitted the outer/container page will not reload. This solution will not make use of any kind of ajax.

提交回复
热议问题