Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me)
Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class
So I'm using...
and I get the error -
word is not defined
So I tried variations including
but still the same problem and my css does indeed have tr.odd defined and works fine if I do odd_even in the view code which I removed for the benefit of this test.