//Find all the check boxes in your table. $("#mytable :checkbox).click( function(){ // Set the currently selected item to be not selected. Comment out the following line if you meant the ability to select multiples. $(".selected").removeClass("selected"); // Get the parent of the check box, this should be its containing TD, Then get the parent of that which should be the TR. $(this).parent() .parent().addclass("selected"); }
) On Apr 16, 8:15 am, Raja Koduru <kscr...@gmail.com> wrote: > Nitin, > paste some code/snippets here. > Will help us to help you. > -raja > > > > On Thu, Apr 16, 2009 at 5:48 PM, Nitin Gautam <gautam.ni...@gmail.com> wrote: > > > I have a table in which each row has radio botton in first td. > > I have to make a code so that when user click on radio button that row > > get highlighted . > > When click other that get highlighted and rest without highlight- Hide > > quoted text - > > - Show quoted text -