Subj : Re: disable textbox in Mozilla? To : netscape.public.mozilla.jseng From : Martin Honnen Date : Mon Nov 17 2003 12:35 pm 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. Try setting document.formName.inputName.disabled = true as true is the proper boolean value for disabled and not 1 which is a number -- Martin Honnen http://JavaScript.FAQTs.com/ .