开发者

Javascript Pulldowns which change depending on the previous pulldown?

开发者 https://www.devze.com 2023-03-21 05:14 出处:网络
I have a series of pulldowns in my form. Currently each one has the same options available e.g. Nurse, Doctor, Cleaning Staff, Porter.

I have a series of pulldowns in my form.

Currently each one has the same options available e.g.

Nurse, Doctor, Cleaning Staff, Porter.

However I was wondering if its possible if in my first pull down when an item gets selected it can be removed from the following pulldowns. Which would reduce errors or duplication of selected options.

Is this possible if so could you link me to some resources or example code as I had no luck googling as I am very much new to javascript etc.

Th开发者_Go百科anks


So you have several dropdowns, each with the same options, but you want a user to be able to select multiple options (just not the same one twice)?

That sounds like a job for multi-select or checkboxes.

0

精彩评论

暂无评论...
验证码 换一张
取 消