Accessing selected drop down

Accessing selected drop down

am 01.02.2005 22:47:50 von Guy

Simple ASP question. In my ASP code how do I get the value of the following
drop down:

Re: Accessing selected drop down

am 01.02.2005 23:37:57 von reb01501

guy wrote:
> Simple ASP question. In my ASP code how do I get the value of the
> following drop down:
>
>

It depends on the form's submission method. If your FORM tag is:



then you will get by:

Request.Form("DayP")


If using GET:


then:
Request.Querystring("DayP")

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: Accessing selected drop down

am 02.02.2005 16:42:44 von McKirahan

"guy" wrote in message
news:uuEOweKCFHA.1188@tk2msftngp13.phx.gbl...
> Simple ASP question. In my ASP code how do I get the value of the
following
> drop down:
>
>

You can't as you assigned no values to any options!

Perhaps you want this:







If you want to refer to the value of a selected option on the client side
using JavaScript then try this: