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
{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
YiiLib 专注于: 专业Web开发教程和专业Web开发服务
Copyright © 2011 - 2024 YiiLib.com(YiiBlog.info) - Designed & Developed by Boy.Lee
留言