Goodday everyone,

I've got the following controllers and views:

/posts/index
/posts/view/[postid]
/pictures/picturepreview/[photobookid]
/pictures/pictures/[photobookid]

Now in the /posts/index and /posts/view/[postid] views I've got the
following <div>:
... <div class="pictures" id="pictures<?= $post["id"]; ?>"></div> ...

And now, using AJAX, I simply want to load the /pictures/
picturepreview/<?= $post["photobookid"]; ?> into the div on /posts/
index and load the /pictures/picturepreview/<?= $post["photobookid"]; ?
> into the div on /posts/view/<?= $post["id"]; ?>.

I'd like to use the CakePHP AJAX helper but I can't figure it out, can
anyone help me with this?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to