Oh... I need to add an 'if' statement to it (at least that's how my
mind works after years with PHP!), something like this?

$("#question").change(function() {
  if !($("option:selected") == "This") {
   $("#box2, #autocomplete").attr("disabled", this.value == 'no');
  }
});

Simply I want to ask the question if 'This' is not chosen, show other
boxes. Then I can reverse it - if 'This' is selected disable the boxes
again.

Reply via email to