I needed this too but for a remoteTimer, but the code like yours didn't work and I also didn't find any support for that intention inside the cakePHP code.
Because of that, I decided to hack a little bit into the code to get this working, it may not be the best idea to do that, but it helped me to get my stuff working, so maybe that could help you too. You can read my changes on my blog, but not sure how that fits for $ajax- >link: >http://schneimi.wordpress.com/2007/10/27/update-multiple-fields-with-one-ajax-request-response/ Michael On 13 Nov., 22:58, wluigi <[EMAIL PROTECTED]> wrote: > I try this old (nate's) code : > > // 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> > > but it doesn't seem to work anymore. > > Wath's the new way ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
