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: > > <?php echo $ajax->observeField('ModelField', array('url'=>'/controller/ > action1', 'frecuency' => 1, 'update' => 'div1')) ?> > <?php echo $ajax->observeField('ModelField', array('url'=>'/controller/ > action2', 'frecuency' => 1, 'update' => 'div2')) ?> > > <?php echo $ajax->div('div1'); ?> > <?php echo $ajax->divEnd('div1'); ?> > > <?php echo $ajax->div('div2'); ?> > <?php echo $ajax->divEnd('div2'); ?> > > It works but only for Firefox, in IE it only updates one div (div1) > and the other (div2) keeps the same value originally selected. > > What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---