Hi EH,

This example[1] shows doing a call to the server and getting back a
response in JSON format, which Prototype will deserialize for you and
make available via response.responseJSON.

[1] http://proto-scripty.wikidot.com/prototype:how-to-bulletproof-ajax-requests

HTH,
--
T.J. Crowder
tj / crowder software / com
www.crowdersoftware.com

On Sep 10, 10:15 pm, EH <ericwc...@gmail.com> wrote:
> Hi all,
>
> I am new to Prototype. I have googled for examples implementing
> prototype and see that they all return contents that are directly
> updated to containers. Is it possible to return just a variable which
> I can further process?
>
> In specific, I would like to return an array from a php which gets
> response from the flickr api. I would like to further process the
> array in javascript for google map api. I am sure there is a smarter
> way to actually do this, please feel free to let me know as well, but
> I am still curious whether it is possible to get a variable from
> prototype response.
>
> Thanks much in advance!
> EH
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to