Oh thank you so much for all your help!
Now I understand how this principle works!
I have to create an own "update.thtml" view-file that contains the
both div's which I want to update.
In my controller I have to call $this->render('update','ajax')
What I still don't understand is why
<?php echo $ajax->submit('Next',array('url' => 'edit', 'update' =>
'extern_voip_connections_table'));?>
did update my element and
<?php echo $ajax->submit('Next',array('url' => 'edit', 'update' =>
array('extern_voip_connections_table')));?>
did nothing.
Now I will look for this before and after Options to update by
JavaScript. I don't want to create thousand of different view-files
only for updating the divs by ajax.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---