Thomas Wegner: <select><option disabled>... funktioniert nicht im Internet Explorer

Hallo,

das Attribut "disabled" arbeitet bei mir nicht für <option> im Internet Explorer, obwohl ich nirgends etwas gegenteiliges lesen konnte :(! Gibt es dafür einen Trick?

  1. hi,

    das Attribut "disabled" arbeitet bei mir nicht für <option> im Internet Explorer, obwohl ich nirgends etwas gegenteiliges lesen konnte

    HTML oder XHTML?
    falls letzteres: dran gedacht, dass dort keine attribute ohne wertzuweisung erlaubt sind, und wie man sie stattdessen notiert?

    gruß,
    wahsaga

    --
    "Look, that's why there's rules, understand? So that you _think_ before you break 'em."
    1. »»

      HTML oder XHTML?
      falls letzteres: dran gedacht, dass dort keine attribute ohne wertzuweisung erlaubt sind, und wie man sie stattdessen notiert?

      Eigentlich HTML. Kann das Formular auch, aber bitte nur wenn nötig, XHTML kompatibel machen. Stürze mich aber nicht unbedingt auf alles neue, wenn es nicht notwendig ist.

      1. »» »»

        HTML oder XHTML?
        falls letzteres: dran gedacht, dass dort keine attribute ohne wertzuweisung erlaubt sind, und wie man sie stattdessen notiert?

        Beispiel:

        <select name="edtObjects" class="i1">
        <option value="1234">Eintrag 1</option>
        <option value="1235" disabled>Eintrag 2</option>
        <option value="1236" disabled>Eintrag 3</option>
        <option value="1237">Eintrag 4</option>
        <option value="1238">Eintrag 5</option>
        <option value="1239">Eintrag 6</option>
        </select>