angelmoratilla / digressit

Automatically exported from code.google.com/p/digressit
0 stars 0 forks source link

JSON-P #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Looking at using JSON, as a script kiddy what i tend to do is load JSON files 
into a page via a script 
tag; To get access to the JSON object, i use a callback - eg &callback=$1 on 
the URI to call a 
function with the JSON object as the single argument; so for $1=foo, foo({}) is 
what gets returned.

SO - issue is - can i have a callback argument on the json calls?

Original issue reported on code.google.com by tony.hi...@gmail.com on 2 Oct 2009 at 11:41

GoogleCodeExporter commented 8 years ago

Original comment by jossw...@gmail.com on 2 Oct 2009 at 12:07

GoogleCodeExporter commented 8 years ago

Original comment by jossw...@gmail.com on 4 Oct 2009 at 9:58

GoogleCodeExporter commented 8 years ago

Original comment by jossw...@gmail.com on 4 Oct 2009 at 10:09

GoogleCodeExporter commented 8 years ago

Original comment by jossw...@gmail.com on 14 Oct 2009 at 4:05

GoogleCodeExporter commented 8 years ago
Tony, can you point to some examples for Eddie on how this would be 
implemented. He's
never had to tackle it before.

Original comment by jossw...@gmail.com on 13 Nov 2009 at 2:39

GoogleCodeExporter commented 8 years ago

Original comment by eddie.tejeda on 14 Oct 2010 at 4:45