today I was doing a country-> region -> city selection page
and i was trying to dynamically update the same $ajax->div('list');
according to the selected item.
Everything was ok, until i tried to apply some effect on the 'before'
callback (the same happened with the 'after' callback): what happens
is that the effect I put on the div $('list').slideUp() it is
executed twice, one before the ajax request is sent and one on the
updated div (after the ajax response, and the consecutive view
rendering).
Does anybody can tell me why?
Should i use different div ID's between the ayax calls?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment