省市县城市联动JS库

插件名称:PCAS (Province City Area Selector 省、市、地区联动选择JS封装类) Ver 2.02 完整版

官方地址:http://www.popub.net/script/pcasunzip.html

使用说明:

演示地址:http://www.popub.net/script/pcasunzip.html

下载地址:http://www.popub.net/script/pcasunzip.js

应用说明:页面包含<script type=”text/javascript” src=”pcasunzip.js” charset=”gb2312″></script>

省市联动

new PCAS("Province","City")

new PCAS("Province","City","吉林省")

new PCAS("Province","City","吉林省","吉林市")

省市地区联动

new PCAS("Province","City","Area")

new PCAS("Province","City","Area","吉林省")

new PCAS("Province","City","Area","吉林省","松原市")

new PCAS("Province","City","Area","吉林省","松原市","宁江区")

new PCAS("Province","City","Area","","","")

省、市、地区对象取得的值均为实际值。

注:省、市、地区提示信息选项的值为””(空字符串)

使用案例:

<script type="text/javascript" src="pcasunzip.js" charset="gb2312"></script>

<select name="Province" ></select>

<select name="City"></select>

<select name="Area"></select>

<script language="javascript">

new PCAS("Province","City","Area","","","");

</script>

省:市:县:

 JS库下载:pcasunzip

6 thoughts on “省市县城市联动JS库

    1. jucelin 文章作者

      不用看懂,只要会用, 😀 ,目的就是为了用起来很简单

      回复

发表评论

电子邮件地址不会被公开。 必填项已用*标注