Home > php教程 > php手册 > jQuery省市区三级联动

jQuery省市区三级联动

WBOY
Release: 2016-06-07 11:38:46
Original
1197 people have browsed it

本文将给大家介绍一款非常好用的联动插件:cityselect。通过这款城市联动插件,可以无刷新省市区联动效果。
jQuery省市区三级联动
首先在#city区域里放三个下拉select,对应class为:prov、city、dist,分别表示省、市、区。若只想实现省市二级联动,去掉第三个dist的select就可以了。<div> <br>     <select></select>  <br>     <select></select> <br>     <select></select> <br> </div>jQuery
下面我们看下如何调用cityselect:$("#city").citySelect();省市区三级联动:http://www.sucaihuo.com/js/34.html

AD:真正免费,域名+虚机+企业邮箱=0元

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template