$('#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 <mg.roes...@gmail.com> wrote: > 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 > jQuery code? > -- Andrei Eftimie http://eftimie.com +40 758 833 281 Punct http://designpunct.ro