@@Lars
Hab die Passende Antwort gefunden:
https://www.tutorials.de/threads/abhaengig-von-select-option-div-tag-ein-ausblenden.392277/
Nein, das ist Unsinn: „ev. solltest du das Attribut hidden' durch einen Style ersetzen“
Im Gegenteil: “Documents that use style
attributes on any of their elements must still be comprehensible and usable if those attributes were removed.
Note: In particular, using the style
attribute to hide and show content, or to convey meaning that is otherwise not included in the document, is non-conforming. (To hide and show content, use the hidden
attribute.)” [HTML-Spec]
Besser als die jQuery-Methoden show()
und hide()
zu verwenden sollte sein, das hidden
-Attribut zwischen den Werten true
und false
umzuschalten.
LLAP 🖖
--
“You might believe there are benefits for the developer, but first of all, you should put those behind the interest of the user.” —Stefan Tilkov
Selfcode:
“You might believe there are benefits for the developer, but first of all, you should put those behind the interest of the user.” —Stefan Tilkov
Selfcode:
sh:) fo:} ch:? rl:) br:> n4:& va:| de:> zu:} fl:{ ss:| ls:# js:|