質問

I included the latest tablesorter.js and tablesorter.pager.js into my html file. I also have jQuery 1.9.1 included. Unfortunately if I load the page Firebug says that there is a type error:

TypeError: $.browser is undefined

I think $.browser is part of the jQuery. So, is 1.9.1 not compatible with the pager addon? The tablesorter alone works great, only the pager does not work.

役に立ちましたか?

解決

$.browser was removed in jQuery 1.9 Read http://api.jquery.com/jQuery.browser/

Update

Try

if (navigator.userAgent.match("MSIE")) {

instead of

if ($.browser.msie) {
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top