pdm91
(Pramodmahale92)
1
hii,
if($model->save())
{
$leavemodel->attributes=$_POST['Clientleave'];
$leavemodel->save();
}
I want to display dialog box after $leavemodel->save(); showing message like
"Record has been added successfully" with one "OK" button in dialog box.
Keith
(Kburton)
2
Are you using AJAX or standard page requests?
jkofsky
(Jkofsky)
3
Yii::app()->user->setFlash('success', 'Record has been added successfully');
pdm91
(Pramodmahale92)
4
Its a simple page.I just want to display dialog box with having "OK" button only…
pdm91
(Pramodmahale92)
5
Above code display only flash after saving data but i want to display dialog box with message & button…