[jQuery] Re: Problem in [] filter
You could try $('tr:has(td):even') [hasElement] support was removed in ~v1.2(perhaps earlier) in favor of :has(element) ~Sean
[jQuery] Re: Problem in [] filter
Hi, try this: $('tr:not(:has(th)):even') ... ...or consider using thead and tbody elements in your markup to separate table-header from the data rows :) -- Bohdan matifibrahim wrote: // $(document).ready(function() { $('th').parent().addClass('table-heading');