Subj : Re: disable textbox in Mozilla? To : netscape.public.mozilla.jseng From : "Steve K" Date : Mon Nov 17 2003 11:04 pm "Martin Honnen" wrote in message news:bpab79$1c11@ripley.netscape.com > Steve K wrote: >> trying to get Mozilla 1.6 to gray-out(disable) a textbox seems not to >> work. For IE it is a simple: >> document.MyForm.LastName.disabled=1; >> >> ...but Mozilla just ignores this statement?! >> Any ideas? > > Next time ask in the JavaScript group on the secure server or in the DOM > group. hmm, this is a javascript group - I am not wrong here..... > Try setting > document.formName.inputName.disabled = true > as true is the proper boolean value for disabled and not 1 which is a > number this fails to work as well - will try a dom group if no one knows... .