control chtml ajaxlink's success action in Yii
{alert(SuccessContent)}
echo CHtml::ajaxLink('Next quote', array('getQuote'), array('success' => 'js:function(data){ alert(data); }'));
{Find More}
http://www.yiiframework.com/doc/api/1.1/CHtml#ajax-detail
Leave Comment