[ic] selected tag

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Tue Oct 30 09:43:00 2001


Götz Verdieck <goetz.verdieck@com4office.de> writes:

> Hi,
> I think with my problem I'm back to the roots, but I can not solve it!
> 
> 
> Every time the first entry (AK) will be shown up in the option list, even if
> I select AL !
>  
> <SELECT NAME="state" onChange="this.form.submit()">
>             <OPTION VALUE="AK" [selected state AK]>AK
>             <OPTION VALUE="AL" [selected state AL]>AL
>            </SELECT>
> What am I doing wrong ?
> I looked in the mail archive, but it seems that everybody uses the
> selected tag with no problem.
> I'm working on a mac. Is this a part of the problem ?

Should work. What shows the HTML code. What is your form action ?
BTW: You can leave out the value.

Ciao
        Racke

-- 
Racke happily hacks Interchange and maintains Debian packages like Courier.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)