
Untitled
By: a guest on
May 9th, 2012 | syntax:
None | size: 0.51 KB | hits: 17 | expires: Never
After successfull Ajax form, update a list with mysql data via Ajax
echo $this->Form->create('Client', array('url' => array('controller' => 'invoices', 'action' => 'save_data')));
echo $this->Form->input('firstname');
echo $this->Js->submit('speichern', array(
'url' => array(
'controller' => 'invoices',
'action' => 'save_data'
)));
echo $this->Form->end();
echo $this->Js->writeBuffer();
echo $this->Html->div(null, '', array('id' => 'feedback'));