Comparing
#20 with
#21
Revision #21 was created by
slinstj on Feb 16, 2011, 6:28:03 AM.
tags and i corrected the option 'disabled'=>true to 'disabled'=>'disabled' that match to W3C standards
Tags
listData, chtml, link, button
Content
[...]
**Example 4: Generating a disabled textfield**
```php
<?php echo CHtml::textField('Text', 'some value',
array('disabled'=>true'disabled'); ?>
```
## CHtml::listData() method
~~~[...]