Hi,
I'm new to cakephp and ajax. I want to update two separate DOM ids
when a user clicks on a link, is this possible? There is only one
location for one DOM in the 'update' column but I need 2 separate
areas to update when a user clicks on one link... Hope this makes
sense.
Right now my code is:
$add_link = $myajax->link( "[Add]", "/test/menu/menu_add_item/
{$l_param}",
array(
'update'=> "dst_content",
'before' => "new Effect.Appear('dst_updating',
{duration: 0})",
'complete' => "new
Element.setOpacity('dst_updating', 0 )"
)
);
This updates my list dst_content which I want it to do, but I also
want to trigger another DOM to update by running another URL and
updating another DOM field with the results.
Is this possible, and what am I missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---