Re: [jQuery] Conditionally format rows in a table

2009-11-12 Thread Andrei Eftimie
$('#select').val() will return the value of the selected item But I'm not seeing *how* this has anything to do with the example you posted. On Thu, Nov 12, 2009 at 8:14 AM, Marcel Roesink wrote: > I have the following code: > >            $().ready(function() { >                $("td:contains('H

[jQuery] Conditionally format rows in a table

2009-11-12 Thread Marcel Roesink
I have the following code: $().ready(function() { $("td:contains('HENGELO')").parent().children().addClass ('red'); }); Now I want to get the condition from an ASP control for example a dropdown or a listbox. How do I use the value of this control in my jQu