In my form, i have given a confirmation message before saving…
CHtml::submitButton(‘Save’, array(‘confirm’=>‘Are you sure you want to save?’));
But the msg box cums two times… What to do?
In my form, i have given a confirmation message before saving…
CHtml::submitButton(‘Save’, array(‘confirm’=>‘Are you sure you want to save?’));
But the msg box cums two times… What to do?
[color=#1C2837][size=2]CHtml::submitButton(‘Save’, array(‘confirm’=>‘Are you sure you want to save?’));[/size][/color]
[color=#1C2837][size=2]
[/size][/color]
[size="2"][color="#1c2837"]When Click on Save then Same Page render than Controller generate view that time also who messege that;s an issue [/color][/size]
[size="2"][color="#1c2837"]
[/color][/size]
[size=“2”][color="#1c2837"]You have to pass some value in URL and then When view load that time just write condition for that does’t show twice[/color][/size]
i dint get u…
Can u give me an example?