You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wendy Smoak <We...@asu.edu> on 2004/02/17 17:24:56 UTC

RE: html:select

> From: Gonzalez, Sergio Eduardo [mailto:sergio.eduardo@t-systems.es] 
> I have to get the description  from a html:select  example  in html 
> <select name ="xx" >
> <option value="z">zzzzz</option>
> </select>
> how can I do to get the "zzzzz" value ???  ( using struts ) 

Make the tag look like this instead:
<select name ="xx" >
  <option value="zzzzz">zzzzz</option>
</select>

It's the 'value' that will get sent to the server, not the displayed
text.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org