activeDropDownList

How to call an action with an activeDropDownList change?


<?php echo CHtml::activeDropDownList($teclado, 'idteclado', CHtml::listData(Teclado::model()->findAll(), 'idteclado', 'TecladoName')); ?>

And what’s the difference between activeDropDwonList and dropDownList?

Use the html options / javascript, or use JQuery.

Alternatively post the contents of the drop down list to a controller method and redirect it from there.