Hello
i am making a dropDownList which has some in it, purpose is to indent some options , but CHtml::dropDownList() automatically encodes html , is there a simple way to disable encoding ?
Thanks
Rasikh Mashhadi
[twitter]rasikh[/twitter]
Hello
i am making a dropDownList which has some in it, purpose is to indent some options , but CHtml::dropDownList() automatically encodes html , is there a simple way to disable encoding ?
Thanks
Rasikh Mashhadi
[twitter]rasikh[/twitter]
Please see
CHtml#dropDownList-detail
$htmlOptions
encode: boolean, specifies whether to encode the values. Defaults to true. This option has been available since version 1.0.5.
Thanks
Rasikh Mashhadi
راسخ مشہدی