On Wed, 14 Dec 2005 13:56:24 -0800, lli wrote:

> I build web application. So I use CGI. I need to show select text in
> the html page. Now I can only display select value such as '001'. But I
> need to display its text 'AAA'.
> 
> LLI

I'm a Python newbie, so by all means verify this answer with more
experienced folks. But what you're running into is a limitation of
HTML/HTTP/CGI. When your form contains a <SELECT> element, the values that
get passed to the CGI are the VALUE elements. If you want to get, for
example, AAA then you would need to put AAA in the VALUE field.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to