Hi everyone,
I have a dropdownlist that looks like this:
<aspropDownList
ID="ddlDate"
runat="server"
Height="25px"
Width="200px"
AutoPostBack="true"
OnSelectedIndexChanged="ddlDate_SelectedIndexChanged"
>
</aspropDownList>
What I want to be able to do is when the user chooses the date, I want to fire this javascript:
function date_onchange()
{
divstatus.innerHTML = "<font color = red>Please wait...";
}
so that the user sees a "Please Wait ..." message while the data is being gathered. But when I modify the dropdownlist like this:
<aspropDownList
ID="ddlDate"
runat="server"
Height="25px"
Width="200px"
AutoPostBack="true"
OnSelectedIndexChanged="ddlDate_SelectedIndexChanged"
onchange="return date_onchange()"
>
</aspropDownList>
The "Please Wait..." message appears but the ddlDate_SelectedIndexChanged routine doesn't trigger. Is there a way/better way to do this?
Thanks!
J![]()




ropDownList
Reply With Quote