How do I refresh a DIV content?

后端 未结 4 733
故里飘歌
故里飘歌 2020-12-13 14:15

I am trying to refresh a certain div within a bunch of divs. The div content is basically generated by PHP alon

4条回答
  •  [愿得一人]
    2020-12-13 14:31

    For div refreshing without creating div inside yours with same id, you should use this inside your function

    $("#yourDiv").load(" #yourDiv > *");
    

提交回复
热议问题