Hello, everybody!

In my application there is a table and I want to change state of  some
item of this table by clicking on e.g. 'Add to favorites'. I already
write code witch sends this ajax request and shows message such as
"This item is added to favorites" (I use ''update' option of $options
array of ajax link method). But how cat I process possible state of
this action. For example, I want to hide this item if reuest is
successfully finished  and shows warning if not (e.g. there is no item
with such ID in DB).
How can I proccess this state?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to