I'm working my way through chapter 7 of the Learning jQuery book, and
encountered issues with .lt and .gt. After discovering that .lt
and .gt had been deprecated in the current release of jquery, I
replaced the sample code with the slice method.
However, I have had no luck getting:
1. the page t
between 0 and the value of
> currentPage* numPerPage
>
> Same goes with the other slice:
>
>.slice(0, (currentPage + 1) * numPerPage - 1)
>
> Hope that helps.
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
>
Thanks! That worked, the pages are displaying correctly now.
I'm still confused on how slice is used differently to replace the .lt
and .gt methods, with .lt receiving two arguments, while .gt only
received 1 argument.
I visited the online documentation pages at jquery.com, and read the
1.2 relea
3 matches
Mail list logo