$this->autoRender = false;
in controller

On Jul 8, 3:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi, I'm trying to use cake with jquery, and I am wondering how to
> automatically render certain controller actions as empty, or without
> any layout, just html snippets, automatically.  since jquery doesn't
> add the same header to its ajax calls as does prototype, is this
> possible?
>
> Or, do I just create an empty layout and use it to return my snippets
> of html with ajax
>
> Thanks,
> Brian


--~--~---------~--~----~------------~-------~--~----~
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