Not sure why you're having this problem, but take a look at the very simple test case here: http://test.learningjquery.com/alt-rows.html

It seems to work fine. Maybe something else is going on in your code or markup? Hard to tell from that snippet.

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Sep 13, 2009, at 2:19 PM, shapper wrote:


Hello,

I am using JQuery 1.3.2 and the following code line:
$("table.Engine tbody tr:odd").addClass("Alternate");

I get the following error on firebug:
Unknown pseudo-class or pseudo-element 'odd'.

What am I doing wrong?

Thanks,
Miguel

Reply via email to