Beat: Hei Pizzabäcker: Optionen sind keine Optionen. Check it out.

Beitrag lesen

"If no OPTION element has the selected attribute set, user agent behavior for choosing which option is initially selected is undefined. Note. Since existing implementations handle this case differently, the current specification differs from RFC 1866 ([RFC1866] section 8.1.3), which states:
The initial state has the first option selected, unless a SELECTED attribute is present on any of the <OPTION> elements.
Since user agent behavior differs, authors should ensure that each menu includes a default pre-selected OPTION." - http://www.w3.org/TR/html401/interact/forms.html#h-17.6.1

Und was lernen wir daraus.
Der Pizzäbäcker nehme Checkboxen für die Pizzaauflagen und distanziere sich von select, denn die Optionen sind keine, und 0 und Nichts sind nicht wirklich Pizzaauflagen.

multiple grüzze.

mfg Beat

--
><o(((°>           ><o(((°>
   <°)))o><                     ><o(((°>o
Der Valigator leibt diese Fische