I think there are "shorter" way using the ajax helper:
In view:
<div id="movie_div"></div>
<?php
$js = $ajax->remoteFunction(array('url' => '/controller/
action', 'update' => 'movie_id')));
echo $javascript->codeBlock($js);
?>
Hope I understood the question ..
On Jun 5, 7:58 pm, crisuwork <[EMAIL PROTECTED]> wrote:
> I just made some updates in my divs from views using XMLHttpRequest.
>
> You can read more at:
>
> http://maran.pamil-visions.com/Cakephp_Ajax.php
>
> If you know other ways to do that, tell me more about.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---