2012-01-03 15:42:03 0 评论 Yii 1.0 Boy.Lee

Yii 1.0 控制 CHTML Ajaxlink的Success事件

{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