Wednesday, July 14, 2010

Re: updating views in ajax

Read up on "call backs" and the cake's ajax "afterRender" or
beforeRender/load - it'll give you a better understanding on how best
to you use AJAX.

On 14 July, 08:37, engine <radicalet...@gmail.com> wrote:
> Hi friends,
>
> i dont know this questions has been asked before or maybe straight forward.
> But i am not able to relate this to any solution.
>
> i had one flip-flop function triggered via a $html->link() this will check a
> Boolean column from database and displays "Active" or "Inactive" on the
> anchor of link which triggers that function. This function first does any
> update query and then always checks the value of that Boolean column based
> on that i display "Active" or "Inactive" on the view.
>
> Now same thing i am trying to accomplish with ajax, i am using $ajax->link()
> function and can update the database column but my view field is not
> refreshed.
>
> Any help appreciated
> Abhishek
>
> -----http://www.libmaker.com/sell books online  |  http://www.milestree.com/
> Web/tech news  |  http://www.hiclicks.com/seo and usability service
> --
> View this message in context:http://old.nabble.com/updating-views-in-ajax-tp29159166p29159166.html
> Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate