wdjquerycity 基于jquery的城市三级联动 YII 插件

  1. Requirements
  2. Usage
  3. Resources

...overview of the extension...

Requirements ¶

...requirements of using this extension (e.g. Yii 1.1 or above)...

Usage ¶

...how to use this extension...

...can use code blocks like the following...

<?php $this->Widget('ext.WDjQuerycity.WDjQuerycity', array(
    'model'  => $model,
    'province' =>'province',  //数据库字段province
    'city' =>'city',  //数据库字段city
    'area' =>'area',  //数据库字段area 
    'provinceValue'=>$model->province,  // province 默认值
    'cityValue' =>$model->city,  // city默认值
    'areaValue'=>$model->area,  // area默认值
   // 'provinceOptions' => array(), // province Html Options
   // 'cityOptions' => array(), // city Html Options
   // 'areaOptions' => array() // area Html Options
)); ?> 

Resources ¶

...external resources for this extension...

1 2
3 followers
326 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: winds
Created on: Apr 18, 2013
Last updated: 7 years ago

Downloads

show all

Related Extensions