Yii 1.1: wdjquerycity

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

...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...

Total 2 comments

#18185 report it
bitshine at 2014/09/23 09:12am
很不错,可以省很多时间

虽然没有ID,但是暂时能用。 谢谢分享!

#12983 report it
583914 at 2013/04/25 04:33am
question

很多情况ID与Name组合,这个控件只是name,不太合适

Leave a comment

Please to leave your comment.

Create extension