Trying to make a dropdown list, which should be submitted if any option is selected.
I followed the instructions from this article, but no success — the page is not reloading, nothing happens at all.
Here’s my code:
<?php echo CHtml::form('','get', array('class'=>'catalog-select')); ?>
<?php echo CHtml::dropDownList('the_cats','select_value',array(1=>'bla',2=>'blabla'),array('submit'=>'')
);?>
</form>
Try with this