oPagination.input does not work with Bootstrap?
oPagination.input does not work with Bootstrap?
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:
[code]
$(nInput).keyup( function (e) { ... to
$(nInput).on('keypress keyup', function (e) {...
[/code]
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
[code]
$(nInput).keyup( function (e) { ... to
$(nInput).on('keypress keyup', function (e) {...
[/code]
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
This discussion has been closed.
Replies
dataTables input was hidden by using "sDom" options and at the same time binded to fnSetFilteringDelay (a line of a forgotten code :-)
Alex