<?php echo EHtml::ajaxSubmitButton($update ? 'Almacenar' : 'Crear', '',
null, array('class'=>'boton')); ?>
The ajax submit works perfectly, but after storing the form into the database table, I need the browser to be redirected to the "admin" page. I know that it is possible since demo pages shows that it is possible to execute a JavaScript function after successful submit, so I could place a location.href there, but, those demo pages doesn't show the PHP code to use to get the corresponding behaviour.
Any help, please?
Thanks
Jaime

Help












