I am working with the latest beta of cake and have an ajax->link with
following options:
$options = array('update' => 'div_id',
'position' => 'Bottom',
'condition' => "!$('element_id')"
);
The link should update a div only if a certain element doesn't exist,
which actually works fine.
The problem is now, that I want to update another div if the condition
fails. I already tried options like 'failure', but no option seems to
work in my case. What else can I try, or is it not possible?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---