我有多个动态下拉列表及其相关的文本框。每当 任何动态下拉选项选项都会更改,其相关文本框会自动更改 建议值需要改变。
var source = [
{"idtype": "1", "idnumber": "In21","Company": "12345"},{"idtype": "2", "idnumber": "In24","Company": "12323"},
{"idtype": "3", "idnumber": "In22","Company": "12323"},{"idtype": "1", "idnumber": "In25","Company": "12323"},
{"idtype": "2", "idnumber": "In23","Company": "12367"},{"idtype": "3", "idnumber": "In26","Company": "12323"} ];
下拉值是源数据的idtype。文本框的自动建议值是相关的公司名称。