Hallo,
momentan ist die Funktion so:
"Häckchen setzen Textarea weg!"
Was muß ich machen, das das genau anders herum funktioniert, also:
"Häckchen setzen Textarea da!"
Gruß
<form action="">
<input type="checkbox" onchange="[code lang=javascript]this.parentNode.className = (this.checked ? 'compact' : '');
> <textarea class="hide">Diese Textarea wird ausgeblendet.</textarea>
> </form>[/code]
>
> Im Stylesheet:
>
> ~~~css
.compact .hide
> {
> display: none;
> }
Qapla'