How can you update 2 div areas with 1 response?

 

Simple 2 col layout with side menu in col 1 main page content in col 2.
Click on menu loads the proper page in col 2, pretty standard straight
forward stuff. Now depending on the link I also want to change the content
under the side menu in col 1. But render outputs the main page content only
since that's what  the controller will pass back. Whats the best way to also
include the html for the other div?

 

If it was just static http calls I would just pop the data right in under
the menu, but since its ajax the menu side never changes except on a page
refresh.

 

Any ideas?

 

Thanks,

 

Dave

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to