-
Notifications
You must be signed in to change notification settings - Fork 896
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 use trigger('click') or click on pagination #452
Comments
i had the same problem, but i soleved it with dynamically assigned click events. Something like > $(where to check for dynamically created selector).on('click', 'dynamical selector', function(event) {your funny stuff here} ... have luck. |
I'm not sure why you can't use trigger('click') (maybe the requires that the listener have been added by jQuery?), but in next version (see reference from commit) you can see with |
@javve on pagination click we would need to scroll back to top/specific page element as clicking to another page doesn't do it by default. How can we achieve this? |
This should do it.
|
here's a variant without jQuery:
|
Assigning click events on the pagination does not enable JavaScript to dynamically trigger the page. I am following one of the issues (javve/list.pagination.js#6) and applied it to my code and nothing happened.
Having that said, it still doesn't solve the issue of developers triggering the pagination using javascript
The text was updated successfully, but these errors were encountered: