你的位置:首页 > Java教程

[Java教程]【开源】原创jQuery省市区选择插件

先来张效果图,演示地址:http://jasonlong-7.github.io/jquery-city/

 

1.动画效果使用的是animate.css

2.支持选择和键盘输入(中英文输入)

3.服务端返回的json格式

{   "provinces": [ { "code": "1000", "name": "北京" }],   "citys": [ { "code": "100001", "name": "北京", "fullPY": "BEIJING", "firstPY": "BJ", "provinceCode": "1000", "provinceName": "北京", "hotCity": true }],  "areas": [ { "code": "10000101", "name": " 东城区", "cityId": "100001", "fullPY": " DONGCHENGOU", "firstPY": " DCO", "provinceCode": "1000", "provinceName": "北京", "cityCode": "100001", "cityName": "北京" }]}

 

 

转载请标注原文地址:http://www.cnblogs.com/JasonLong/p/5278955.html