On 03/11/2007, Sean Catchpole <[EMAIL PROTECTED]> wrote: > function getRecord(id,URL){ > jQuery("#ResultsTable tr .selected").removeClass("selected"); > jQuery("#"+id).addClass("selected"); > ... > ~Sean
I think Sean meant jQuery(#ResultsTable tr.selected")... ...without a space between tr and .selected as you want the tr that has the class "selected", not ".selected" descendants of any tr within #ResultsTable. Joel Birch.