To my knowledge, not from within CakePHP (but this is off the top of my head), because you can only do DOM element updates.
You'd have to do some manual Ajax through your JS framework. To catch the ajax response and do an Append to the DOM element instead of a the Replace. Doesn't help much, I'm sorry. On Fri, Mar 28, 2008 at 2:33 PM, miuuzn <[EMAIL PROTECTED]> wrote: > > i've been looking for a way to make a variable number of forms and > manage them(add or remove) on the client using 2 buttons > > i found the way to update div, but it does not fit my requirement... > as if i update the whole div i would have to recreate all the forms. > And i can't have a div for each form on the view, because its > variable. > > is there a way to just add a DIV or FORM without reloading the others? > and also removing divs or forms... > > thanks! > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
