Thanks everyone for your assistance.

Greatly appreciated.

Dave 

-----Original Message-----
From: RobG [mailto:robg...@gmail.com] 
Sent: June-06-09 11:27 AM
To: jQuery (English)
Subject: [jQuery] Re: Even Odd Rows




On Jun 6, 11:25 pm, Karl Swedberg <k...@englishrules.com> wrote:
> You can make that first line a bit more compact:
>
> $("li").removeClass("even odd")

It's still very inefficient.  All that is required is for the LIs below the
deleted one to have their class swapped from odd to even and vice versa.


--
Rob

Reply via email to