I want both value and text
What Robert said is a workaround.
I suggested that too.
But the point is that, theoretically
it is not possible to get the text at server side, Right!

Thanks
Roji

----- Original Message -----
From: "Lonnie.Kraemer" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Saturday, October 12, 2002 11:48 AM
Subject: Re: Select text at Server Side


> > Looking a bit stubborn today morning ;)
> > My colleague ask me Is there a way to
> > get the 'text' of a select item in the server side.
> > I said No, but is that is there any way?
>
> Sure! IIRC, if no value is assigned, the text will be passed:
> <select>
> <option>This</option>
> </select>
>
> or pass the text as the value:
> <select>
> <option value="This">This</option>
> </select>
>
> or pass the text as part of the value:
> <select>
> <option value="selected,This">This</option>
> </select>
>
> --
> Lonnie Kraemer
> -----------------------------------------
>
> ---
> You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to