Well, thanks to all, I'm going to the AJAX way
Regards,
Nicolas Duroc
2006/6/16, Antonio Gallardo <[EMAIL PROTECTED]>:
Jason Johnston escribió:
>> I have a form binding a XML File with some repeaters, and for a nicest UI,
>> I
>> used some _javascript_ to toggle hidden/shown state for some controls. I
>> added
>> a insert-row control, but when I use it, the page reloads itself, and the
>> "_javascript_ state" is not kept. So I have to switch again to show the part
>> of the form.
>> Is there a solution to keep the "_javascript_" on the continuation ?
>>
>
> Alternatively, if you choose to use the CForms AJAX rendering, this whole
> issue goes away because the insert-row button would only reload the
> repeater, not the whole page, so the state of your DOM would remain.
>
Hi,
I think this is the way to go.
Best Regards,
Antonio Gallardo.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
