in your case: $this->layout = 'ajax'; $this->render( 'ajax_index' );
or simply $this->render( 'ajax_index' , 'ajax' ); but remember... you must have ajax.thtml layout with only one line <?= $content_for_layout?> and another thing... you can't just copy and paste index.thtml into ajax_index.thtml because when you are updating <div id="updateme"> in index.thtml it will update that div with the same view .. so you will have ...<div id="updateme">... <div id="updateme">...</div> ...</div>... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
