Hi Everyone,I am Stuck with this functionality since two days,How to update a Multi select drop Down through ajax success property.I cant choose an alternative of reloading the page,Since I am new to the Web and to Yii.If some one finds an easy solution pls help me.I hav shown my silly code here
<script>
function reloadCombo()
{
$("#first_name").html(data);
}
</script>
<?php
echo CHtml::submitButton(‘Submit’,array(‘ajax’=>array(‘type’=>‘POST’,‘url’=>CController::createUrl(‘site/index’),‘data’=>array(‘id’=>‘js:first_name.value’),‘success’=>‘reloadCombo()’)));
?>