hello
i am using ajaxButton to submit form and it will return json data
but if i press enter key its not working properly displayed json data directly
in browser
if anyone can help me out i am stuck here
thanks in advance
hello
i am using ajaxButton to submit form and it will return json data
but if i press enter key its not working properly displayed json data directly
in browser
if anyone can help me out i am stuck here
thanks in advance
Done good
but make sure that Ajax Button have type submit
<?php
$this->widget('zii.widgets.jui.CJuiButton', array('buttonType'=>'submit','name'=>'btnSubmit',
'value'=>'Submit',
'caption'=>$model->isNewRecord ? 'Create' : 'Save',
)
);
?>