Home  >  Q&A  >  body text

Urgent! Urgent! ! ! Please ask a master to answer the question about website comments. Is there any master who can help me?

The original comment box of the website can be displayed normally before the comment list is replaced at the top. However, an error is output after the comment box is at the top and the comment list is at the bottom.

The replacement position code is as follows

1605511212(1).png

When it is not replaced, it is as follows. When submitted correctly, it displays as follows after clicking submit: The first comment at the top is the latest comment

1605510878(1).png

The output error after replacing the position is as follows

1605511602(1).png

The two complete codes below are attached for answers:

011.png代码.png

谜迷米~谜迷米~1407 days ago985

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2020-11-17 14:14:36

    Friends, just ask questions about specific error messages. There are so many codes and it will take a long time to go through them. I hope there is a kind person with plenty of time who can help you

    reply
    0
  • 谜迷米~

    There is no error message, that is, a normal comment submission should be a partial refresh, but after the new comment is output at the replacement position, the original comment list is also repeated, which is equivalent to duplication. I don’t know what is wrong, so I have written so many codes. Sorry

    谜迷米~ · 2020-11-19 10:13:35
  • Cancelreply