I have json data being returned as a collection:
var foo = ["6", "7", "33"]
using JSONP in jQuery. Since I'm using JSONP, the data is being returned to a callback function, which is interpreting it as a string instead of a collection. Do I need to run eval(foo)
on the string in the callback before handling it as a collection, or is there some other means of recasting it?