...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...
question
很多情况ID与Name组合,这个控件只是name,不太合适
很不错,可以省很多时间
虽然没有ID,但是暂时能用。
谢谢分享!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.