[jQuery] jQuery newbie - working through Learning jQuery book

2007-12-29 Thread rodeopro
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

[jQuery] Re: jQuery newbie - working through Learning jQuery book

2007-12-29 Thread rodeopro
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 > >

[jQuery] Re: jQuery newbie - working through Learning jQuery book

2007-12-29 Thread rodeopro
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