Just this exact thing this week.... There's a good example here:
http://api.jquery.com/jQuery.getJSON/... if your not using jquery you
can use eval() just the same.

On Jun 24, 9:56 am, Joakim <ban...@gmail.com> wrote:
> Hello,
>
> I have a ajax link that returns a json datastructure(writes out the
> json datastructure in the view) and i want to get this evaled and
> placed into a js datastructure that i can use. How do i manage this?
>
> All suggestions are really helpful!
>
> Best regards

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to