I have a panel named "listState" on my aspx page

Now in that panel i have number of dropdowns.
I want id of that all dropdownlist present in "listState"

How can i do this using JQUERY

I tried following code

$('#<%=listState.ClientID%>').find("select")
But it doesnt gives me id of all dropdownlist.

What to do to achieve this.

Google around for 'jQuery each', something like that might work:

$('#id').children().find('select').each(function(){
    some_array[] = $(this).attr('id');
});
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.