[jQuery] Re: Mystery "jquery" attribute and behavior...

2007-10-23 Thread Deane
No Ajax on the page. Deane On Oct 22, 9:42 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > My guess: > You're doing an Ajax call which is loading an HTML chunk that's also > pulling in a fresh copy of jQuery and re-applying the even/odd > styling. >

[jQuery] Re: Mystery "jquery" attribute and behavior...

2007-10-23 Thread Deane
rking after* under the first method. There's is nothing odd about that table row, that I can see. Deane On Oct 23, 12:05 am, David Serduke <[EMAIL PROTECTED]> wrote: > Perhaps try :nth-child(even) instead. > > http://docs.jquery.com/Selectors/nthChild > > Look at the demo

[jQuery] Mystery "jquery" attribute and behavior...

2007-10-22 Thread Deane
I'm using jquery to zebra-stripe some tables. On one page, the jquery consistently displays the same odd behavior. Here's my code: $("table.Data tr:even").addClass("EvenRow"); On the first table on the page (the page has several), it applies the "EvenRow" class to the first eight rows (instead