Wednesday, May 16, 2012

CHtml Dropdownlist in yii


Default Selection in dropDownList of Yii

2 comments:

  1. How to add class in above dropDownlist. Can anyone suggest me to add class = "something" in above code

    ReplyDelete
  2. array('empty'=>'Select Parent Category','class'=>'classname','options'=>array());

    ReplyDelete