not sure what is wrong with this jquery code: http://jsfiddle.net/aCABM/
I want to to grey out the dropdown menu when ‘yes’ is selected. When no is selected it can be selected if the user so wishes.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Select the elements by radio button
namethere is no need to select them individually by there ids and usepropinstead ofattrsince you are manipulating itsdisabledproperty. Try this.Demo
In your fiddle there were few issues.
td, it should be enclosed withtableandtrelement.scripttags.