Why does this function only work the first time it is called?

前端 未结 0 1297
情歌与酒
情歌与酒 2020-12-13 23:55

I have used this function from w3schools to sort my table when the header is clicked, however it only works the first time it is clicked, also since it sorts alphabetically,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题