Hello,
view/index:
echo CHtml::ajaxButton('Sources', CController::createUrl("SourcesAjax"), array(
'type' => 'GET',
'update' => '',
'success' => 'function(data){
}',
), array(
'class' => 'btn btn-success',
)
);
in my controller:
$this->renderPartial(’_sources’, $data, false, true);
view/_sources:
some data to show
How render the view _source in a popup?
thank you