hi,
ich möchte ein Textfeld nur bearbeitbar machen, wenn eine Checkbox aktiviert ist. Ist das mit JS möglich?
ja.
abfrage der checkbox durch geeigneten eventhandler aufrufen, und dynamisch das disabled-attribut des inputs auf true oder false setzen.
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."