[jQuery] Re: looping through elements with jQuery based on class

2009-12-01 Thread led
Thank you Richard. But what about to to use the example with only the first 3 '$ ('div.star-rating.rater-0.auto-submit-star.star-rating-applied.star- rating-live')' in page. Is that i need to show the results of the rating. if the result is 3 then add the class to only the first 3 stars. On 2

Re: [jQuery] Re: looping through elements with jQuery based on class

2009-12-01 Thread Richard D. Worth
See http://docs.jquery.com/Traversing/slice#startend - Richard On Tue, Dec 1, 2009 at 11:07 PM, led l.r@sapo.pt wrote: Thank you Richard. But what about to to use the example with only the first 3 '$ ('div.star-rating.rater-0.auto-submit-star.star-rating-applied.star- rating-live')' in