The HTML i wrote looks like layout view because of the <html>, <body>
and <head> tags... it's just an example you can put it in your own
view, but be careful... when you render the updata you must specify an
empty layout.

$this->set('ajax_call', true);
$this->render('index','ajax');


the ajax.thtml layout should look like this:

<?= $content_for_layout?>



And one other thing to do... you can disable the <!--0.0123s--> render
time which is generated if you're in debug set to >0 ...


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to