search

Home  >  Q&A  >  body text

How to add data to tp5 database and update page data in real time with ajax

冷咖啡冷咖啡2717 days ago1532

reply all(3)I'll reply

  • Time丶Out

    Time丶Out2017-09-07 04:39:23

    ajax request. It is recommended to look at the $.ajax() method in jquery

    reply
    0
  • 帅锅

    帅锅2017-09-05 11:49:16

    I don’t know how to do this either
    But you can come to my group and ask. There are many great people in my group
    218289437

    reply
    0
  • 呆呆熊去哪了

    呆呆熊去哪了2017-09-05 09:00:41

    You can use ajax long polling, which usually waits for the last ajax request to timeout to send the next request, and sends the next request after receiving the message, but this consumes more resources. It can also be implemented using websockets.

    reply
    0
  • Cancelreply