Advertisements

Eric wrote on 02 nov 2007 in microsoft.public.inetserver.asp.general:
> Hello,
>
> I'm trying (without any success) to get the value of a disabled select
> control. From reviewing:
>
> http://www.w3.org/TR/html401/interact/forms.html#adef-disabled
>
> It doesn't sound like it's going to be possible directly. I'm
> thinking that I can get around it by enabling the select control
> during some javascript that gets executed during the submit.

Right
> I'm
> thinking that I can get around it by enabling the select control
> during some javascript that gets executed during the submit.
>
Either that or use client-side script in the onsubmit event to put the value
in a hidden textbox in the form.

--
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"

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!