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