earlier I asked for help disabling a Button when a drop down menu item was selected. I was given some code that did the trick but now I need the same with a Textbox and for some
You can use disabled attribute to disable the textbox.
document.getElementById('color').disabled = true;