摘要:
var pro = document.getElementById("province"); var obj = {}; function getValue(){ var index = pro.selectedIndex; obj[pro.options[index].text] = { key: index }; var city =document.getElementById("city"); obj[pro.options[index].text].values = {}; for (var j = 0, len ... 阅读全文