Saturday, September 11, 2010

onchange event in DropDownList through Jquery


$(document).ready(function() {
$('#<%=DropDownList1.ClientID %>').change(function() {
if (($("#<%=DropDownList1.ClientID %> option:selected").val() == "0"))
{
... // do your stuff
}
else
{
// do your stuff
}

});});
Share:

1 comment: