Re: observeField updating multiple divs

2007-09-08 Thread francky06l
Is it the same field that triggers the update of the 2 div's ? If so try to update in 1 call : 'update' => array('div1', 'div2'); On Sep 7, 10:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello guys, > > I'm trying to update 2 divs via ajax->observeField, I got this code: > > observeFi

observeField updating multiple divs

2007-09-07 Thread [EMAIL PROTECTED]
Hello guys, I'm trying to update 2 divs via ajax->observeField, I got this code: observeField('ModelField', array('url'=>'/controller/ action1', 'frecuency' => 1, 'update' => 'div1')) ?> observeField('ModelField', array('url'=>'/controller/ action2', 'frecuency' => 1, 'update' => 'div2')) ?> di