I think either
* pass the initial data along to the ajax call so your returned
content can include the initial data + new data
* or write a small custom javascript function that retrieves the
initial content and then adds the new content to it

Sadly enough I don't think this functionality is wrapped in some Ajax
helper methods, so you will need to digg a bit into javascript and the
Prototype stuff


On 11/2/06, Samuel <[EMAIL PROTECTED]> wrote:
>
> Hi all:
> if there is a div tag like this:
> <div id="updatearea">
> My initial datas
> </div>
> case is that:
> I use observerField() to update this area when some chages happens in
> the target field,but how can I leave the original data "My initial
> datas" there and add the updated datas ?
> like
> <div id="updatearea">
> My initial datas
> my new datas
> </div>
>
> thanks all!!
>
>
> >
>

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