Thanks nate.

In other words, in my example (with 2 divs) .

I create the inititial document with "normal" div, then I make my link
but I do not specify any 'update' options.
In my render div, I do not mentionned the first div (or should I ?) but
for the second I use the  e($ajax->div()) method ?
I have seen the topic mentionned, now how would look like the
"test.thtml" if the page is modified like this :

<?=$ajax->div('second'); ?>
        <h1>Initial header</h1>
<?=$ajax->divEnd('second'); ?>

in my controller/test method, I want to change the content of the
second div by :
<h1>Updated div</h1>
AND also update the first div with the current time, but without
writing again the php code into the render view?

Thanks for your patience


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

Reply via email to