你可以创建一个像ajax的链接
Html::a('Your Link name','controller/action',[ 'title' => Yii::t('yii','Close'),'onclick'=>"$('#close').dialog('open');//for jui dialog in my page $.ajax({ type :'POST',cache : false,url : 'controller/action',success : function(response) { $('#close').html(response); } });return false;",]);