My primary objective is to update multiple div at once like but not
like this exemple: // test.thtml
<code>
<?=$ajax->link('Update 2 Div\'s', '/controller/test', array('update' =>
array('first', 'second'))); ?>
<?=$ajax->div('first'); ?>
This is the first div, it has the current time:
<?=strtotime('now'); ?>
<?=$ajax->divEnd('first'); ?>
<?=$ajax->div('second'); ?>
This is the second div, it shows server variables:
<? pr($_SERVER); ?>
<?=$ajax->divEnd('second'); ?>
</code>
what I need looks like
<?=$ajax->link('Update 2 Div\'s', '/controller/test', array('update' =>
array('first', 'second'),'url'=>('/pages/first/','/pages/second')); ?>
Is it possible ?
thx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---