Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable/enable form elements

Status
Not open for further replies.

SgtBadass

MIS
Jul 16, 2002
19
GB
I have a form which has four menu lists. Depending on the state of the first one, the other three will be disabled. i.e. if they select 'FAQ' from the first drop down, they don't need to enter anthing in the other three so they should be disabled. Is this possible?

TAI

Andy.
 
yes
there is an attribute called "disabled". So you can write :
document.my_form_name.my_element_name.disabled = "true";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top