应用说明:页面包含 省市联动 new PCAS("Province","City") new PCAS("Province","City","吉林省") new PCAS("P rovince","City","吉林省","吉林市") 省市地区联动 new PCAS("Province","City","Area") new PCAS("Province","City","Area","吉林省") new PCAS("Province","City","Area","吉林省","松原市") n
应用说明:页面包含[removed][removed] 省市联动 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","Are
所有的地址数据都放在js文件里面,调用该控件的方法很简单: AreaCtrl 类最多有3个参数,如上例的"省份","城市","地区",这里的文字是下拉框左边的文字,如果只写1或2个参数,那么控件也只输出省份或省市联动。比如 new AreaCtrl("省份","城市"),那么只有2个下拉框,地址精确到城市。 area 有2个属性,2个方法。 属性: name 定义控件名称。值必须是数组类型,比如 ["Province","City","Area"],将会给3个下拉框定义其name属性,分别为
所有的地址数据都放在js文件里面,调用该控件的方法很简单: [removed] var area = new AreaCtrl(“省份:”,”城市:”,”地区:”); area.write(); [removed] AreaCtrl 类最多有3个参数,如上例的”省份”,”城市”,”地区”,这里的文字是下拉框左边的文字,如果只写1或2个参数,那么控件也只输出省份或省市联动。比如 new AreaCtrl(“省份”,”城市”),那么只有2个下拉框,地址精确到城市。 area 有2个属性,2个方法