Hi,
On my form I have 2 drop-down box:
<SELECT ID="DisplayBy" onChange="ChangeValues()">
<OPTION value="Charges"
>Charges</OPTION>
<OPTION value="Count"
>Count</OPTION>
</SELECT>
<SELECT NAME=Years>
<OPTION value="2001">2001</OPTION>
<OPTION value="2002"
<% if (Year(Date) = "2002" then
response.write("SELECTED"
end if
%>
>2002</OPTION>
<OPTION value="2003"
<% if (Year(Date) = "2003" then
response.write("SELECTED"
end if
%>
>2003</OPTION>
</SELECT>
When I submit values and try to retrieve them I have this:
year=Request.Form("years"
display=Request.Form("DisplayBy"
I am able to retrieve "years", but not "DispalyBy"
I suspect it is because I have NAME property for "years" combo box, and ID for "DisplayBy".
Please help.
Thanks
On my form I have 2 drop-down box:
<SELECT ID="DisplayBy" onChange="ChangeValues()">
<OPTION value="Charges"
>Charges</OPTION>
<OPTION value="Count"
>Count</OPTION>
</SELECT>
<SELECT NAME=Years>
<OPTION value="2001">2001</OPTION>
<OPTION value="2002"
<% if (Year(Date) = "2002" then
response.write("SELECTED"
end if
%>
>2002</OPTION>
<OPTION value="2003"
<% if (Year(Date) = "2003" then
response.write("SELECTED"
end if
%>
>2003</OPTION>
</SELECT>
When I submit values and try to retrieve them I have this:
year=Request.Form("years"
display=Request.Form("DisplayBy"
I am able to retrieve "years", but not "DispalyBy"
I suspect it is because I have NAME property for "years" combo box, and ID for "DisplayBy".
Please help.
Thanks