Gunnar Bittersmann: gehts noch? Reiß dich mal zusammen!

Beitrag lesen

@@Rolf B

Die Radiobuttons würde ich übrigens per JS einfügen und nicht vorab ins HTML schreiben lassen.

Ich nicht. Unnötig aufwendige DOM-Operation.

Einfacher und performanter ist es, die Elemente im HTML-Quelltext mit hidden-Attribut zu notieren und per JS hidden auf false zu setzen.

🖖 Live long and prosper

--
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14