Updating Yii Dropdownlist After Insert New Element

I’m totally new in Yii, so, excuse me if the answer for this question is a little bit trivial.

Here’s my code:


<p>

  <?php echo $form->labelEx($model,'phone_type'); ?>

  <span class="field">

  <?php echo $form->dropDownList($model,'phone_type', 

     CHtml::listData(PhonesTypes::model()->findAll(),

 'id','type' )); ?>     

  <?php echo $form->error($model,'phone_type'); ?>

</span>                                 

</p>

There will be a button to register new Phone types. So, after the submition of the form, that will be inside of a CJUiDialog, I wish that the above dropDownList be updated with the new type, without refresh the page.

I google it a lot, but i only find things related to "dependent dropdowns" in Yii.

What’s the better approach to solve this problem? Is there something like


$.fn.cgridview.update

?