Skip to content

[pager] NaN size #218

Description

@Shinobi666

Hi,

First things first, thanks to those who have worked on this jquery plugin! It made my day! ^^

I have some issue with the size of the addon pager when I do not use a number. The matter already occured apparently : #35
Unfortunately, the fix doesn't seem to resolve my problem.

I'm still a novice, so maybe I'm doing something wrong. I'm hoping someone would have the right knowledge to help me out ^^

I do not use a select field to choose the number of lines by pages in my tab but some input field where is registered the user's preferences.
But if I try to use the value of my input, the pager is effective only on the first page (or I have to do use some trick like using the original select field with my value selected and a style display: none;)

Here is an example :
http://jsfiddle.net/5aMhh/

On the first page, I have my five recordings but if I try accessing to the second, a weird behaviour occured (all the recordings but the ones of the previous pages appear).

Therefore, I can't have a pager size like $("#test").val() for the moment but a raw number will work fine.
I hope there is a way to avoid this issue ^^

Best regards,

David

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions