jquery zebra-striping: how to ignore nested table from radiobuttonlist

kuarkito

New Member
I'm using jquery to zebra stripe a table, and it's working fine - except that there's a radio button list that is also getting the striping applied.My table has \[code\]<table class="stripeMe">\[/code\]The query is\[code\]$('.stripeMe tr:nth-child(odd)').addClass('odd');\[/code\]The problem when one of the even rows contains an asp.net radiobutton list (which is rendered as a single-row table) it also gets the highlight. Is there any way to avoid this?
 
Back
Top