I am using a Jquery Tablesorter plugin for sor开发者_运维知识库ting a table.I want, when I sort the text column, jquery tablesorter consider the lowercase and uppercase text equally means sort text column case-insensitively.
How can i do it?
There are various parts in the plugin code such at this at line 701:
return $.trim(s.toLowerCase());
where the values are all converted to lowerCase to avoid case difference problems. Although I think these are implanted nicely you should be able to modify these lines to adjust this. simple remove all toLowerCase methods. but ready them thoroughly before simply just deleting.
精彩评论