hi,
versuche mal sowas ähnliches:
feld: <input type="text" size="40" name="input" value="Test" onclick="document.form.input.disabled=true" />
da könntest du an der stelle auch gleich mit this.disabled arbeiten.
ist readonly überhaupt eine in javascript verfügbare feldeigenschaft?
m.W. nein.
also entweder per createAttribute() setzen, oder auf disabled ausweichen.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }