hi guys, i have a very simple form but as i am newbie on Java Script i couldn't solve one problem.. i want my textbox to be enabled (it is disabled by default) if the user US from the combo box above it.. but, if the user choose a different contry i want my textbox to stay disabled as default.. here is my code: where is the problem or am i missing something?
Use a function like this: function disableit{ document.formname.textfieldname.disabled=true; } and call it like this inside select: onchange="disableit()" Its not the exact code, but it should be like this.