How set a ‘loading image’ with a small sleep on image upload ajaxLink
How set a ‘loading image’ with a small sleep on image upload ajaxLink
echo CHtml::ajaxLink('View all '.$count.'comments', Yii::app()->createUrl('ActivityActions/allcomments' ),
array('type' =>'GET',
'data' => array( 'val1' =>$list_1->id ),
'dataType' => 'text','update' => "#req_res".$list_1->id),
array('class'=>'ajaxlink')
);