interface:
Two drop down boxes.
Implemented with js method:
Use the jq method to achieve:
Notice:
In for(var a in array) in js, the variable a is still the subscript, not the value of the element, which is a bit different from other languages. At the same time, in js, the subscript of the array can store text.