View Full Version : How to enable or disable textboxes??

03-08-2005, 01:40 AM

My problem is that when I have a list/menu, select, box I have to choose one of the selections, and enable a textbox and disable a second list/menu, select, box; and when I choose another selection from the first list/menu, I have to disable the textbox and enable the second list/menu.

I hope somebody can help me!! :confused: :confused:

03-08-2005, 04:01 AM
document.theForm.theField.disabled = true; //disabled
document.theForm.theField.disabled = false; //enabled