Html 在jQuery tablesorter中禁用排序后,单击事件停止触发

Html 在jQuery tablesorter中禁用排序后,单击事件停止触发,html,jquery,click,tablesorter,disable,Html,Jquery,Click,Tablesorter,Disable,.click()事件在禁用HTML表中特定标题单元格的排序后停止工作jquery.tablesorter是用于对表中的数据进行排序的jquery插件。原因:单击绑定被tablesorter删除,因为它重建了HTML表头 解决方案:在jquery.tablesorter.js文件中将headerTemplate选项设置为空字符串(“”) 更改headerTemplate:“{content}”为headerTemplate:”我们需要查看所有相关信息,如html jquery请发布单击事件的代码,

.click()事件在禁用HTML表中特定标题单元格的排序后停止工作jquery.tablesorter是用于对表中的数据进行排序的jquery插件。

原因:单击绑定被tablesorter删除,因为它重建了HTML表头

解决方案:在jquery.tablesorter.js文件中将headerTemplate选项设置为空字符串(“”)


更改headerTemplate:“{content}”headerTemplate:”

我们需要查看所有相关信息,如html jquery请发布单击事件的代码,或尝试使用此$(文档);