JQuery tablesorter pager plugin doesn't work properly with IE11 in Edge mode

后端 未结 4 1288
一个人的身影
一个人的身影 2021-02-07 05:16

If you are using the Tablesorter Jquery plugin with the pager add on the table will not display any of the data. The data is there but it is hidden.

I suspect the browse

4条回答
  •  [愿得一人]
    2021-02-07 05:34

    One simple soltion - change the line in jquery.tablesorter.js from if($.browser.msie) to:

    if(/msie/.test(navigator.userAgent.toLowerCase()) || window.navigator.userAgent.indexOf("Trident/7.0") > 0) works for me.

    /msie/.test(navigator.userAgent.toLowerCase()) detects IE version 10 or below. window.navigator.userAgent.indexOf("Trident/7.0") > 0 detects IE 11.

提交回复
热议问题