I definitely need some more help, I cannot get this if lark to work out: $(document).ready(function() { $("#question").change(function() { if ($("option:selected") == "good answer") { $("#box2, "#autocomplete").attr("disabled", this.value == 'no'); } }); });
Am I vaguely in the right direction? I can't see in the manual how I would get the value selected into my function.