-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot call method 'html' of undefined in tablesorter.pager.min.js #223
Comments
Can you tell me the line number in the code? Or share a demo? |
I got the callstack from chrome console.
|
here is my web page code in jade.
|
Sorry, can you change it to not use the |
Yes, Error on |
I debug it, and find |
|
Hi, guys. I have modified line 198 in non minified pager file (tablesorter.pager.js) from
to
and error message has disappeared. But now sorters and filters don't work for me. When I click on some header or try to filter something it sends ajax requests to the server. I want to sort and filter my items without ajax (as it was in previous versions) or describe how to use new functionality. |
Ahhh thanks @symbianm! I did notice that recently, I actually ended up removing it but I haven't push the changes yet... I will soon, as soon as I finish working out the problems with the resize widget. What new functionality are you referring to? |
If you can, just update this demo page http://mottie.github.com/tablesorter/docs/example-pager-ajax.html and I will rebuild my app. |
I think I know how to solve my problem. I should sort and filter items on server side. Am I right? |
Yes, because setting the |
Thanks @symbianm. There is no error here after changing the code as you said. |
Fixed in this commit: 0232c7a |
I use tablesorter + pager + ajax in my project which is based on express and jade.
however, I meet one error
Cannot call method 'html' of undefined
in tablesorter.pager.min.js.and codes are same as http://mottie.github.com/tablesorter/docs/example-pager-ajax.html
Can anyone help me?
The text was updated successfully, but these errors were encountered: