Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81688

oPagination.input does not work with Bootstrap?

$
0
0
I really like the oPagination.input and I always use it. However, it seems that the plugin does not work with Bootstrap correctly: page numbers typed into the input box are simply ignored. I have tried changing:
$(nInput).keyup( function (e) { ...  to
$(nInput).on('keypress keyup', function (e) {...
It reacts to the keypress now but whatever number I type, the value inside the input always reverts back to 1. My guess it that there might be some bootstrap event attached to the input. Buttons works perfectly, but input is extremely useful with bigger number of pages.
Any ideas?

Alex

Viewing all articles
Browse latest Browse all 81688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>