tshi0912 / city-picker

下拉面板式省市区三级联动jquery插件,视觉更清爽,交互体验更友好。
http://tshi0912.github.io/city-picker/
MIT License
784 stars 339 forks source link

省市县初始赋值能不能是对应的ID #15

Open ivantree opened 8 years ago

ivantree commented 8 years ago

如何使用ID而不是中文名进行初始赋值? $citypicker2.citypicker({ province: '江苏省', city: '常州市', district: '溧阳市' }); 变成 $citypicker2.citypicker({ province: '320000', city: '320400', district: '320481' });

ghost commented 8 years ago

$citypicker2.citypicker({ province: '江苏省', city: '常州市', district: '溧阳市' }); 不能赋值呢?

weirui88888 commented 7 years ago

请问如何解决的呀,这边遇到了同样的问题