how do I disable options based on the previous selection?

Posted by 3r1c on Stack Overflow See other posts from Stack Overflow or by 3r1c
Published on 2010-04-08T20:07:43Z Indexed on 2010/04/08 20:23 UTC
Read the original article Hit count: 119

Filed under:
|
|
|
|

I have three drop-down menus for each sample shirt; product, colour and grade. Not all products are available in all colours and/or grades. I would like to disable the options that are not available based on the users selection.

I've tried using this answer here (using a radio select). Unfortunately, I can't get it to work with an option-selected input.

This is what I'm working on - quartus.ca/select-options.html

Any guidance would be appreciated.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about forms