💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 城市选择 [TOC] ## 实例操作 ![](https://box.kancloud.cn/3f23019510da363d063bd768f82bb75e_350x119.png) ``` <select name="address[province]" class="form-control"></select> <select name="address[city]" class="form-control"></select> <select name="address[area]" class="form-control"></select> <script> require(['hdjs'], function (hdjs) { hdjs.city({ //省份标签 province: document.querySelector('[name="address[province]"]'), //城市标签 city: document.querySelector('[name="address[city]"]'), //地区标签 area: document.querySelector('[name="address[area]"]'), }, { //默认省 province: '福建省', //默认市 city:'厦门市', //默认地区 area:'海沧区', }); }) </script> ```