Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个单选按钮和一个下拉菜单,其中单选按钮选项:[员工,学生]。如何根据单选按钮选择相应地更改值。员工的 Onclick 下拉选项应为 [emp1,emp2,emp2] 学生的 onclick 下拉选项应为 [stu1,stu2,stu2]
将下拉菜单的项目设置为:
Switch(radioButton.Selected.Value,"Employee",["emp1","emp2"],"Student",["stu1","stu2"]...)