That doesn't make any sense "getJSON", makes an AJAX call and expects, well, it expects JSON
if what your calling has comments surrounding it, then it isn't JSON, so that function won't work You'll have to use the generic ".ajax" method, strip off the comments, and then, ugggh, "eval()" to turn the uncommented string into JSON On Mar 25, 11:02 pm, jt <j...@arclocal.com> wrote: > I'd like to use the getJSON function but my data source has > surrounding javascript comments on it. Is there a way I can use > getJSON and pass it a parameter to strip this off. If not is there a > different function that would be more appropriate? > > I am able to remove the Javascript comment characters and getJSON > works fine but the feed is this way. > > thanks for any help. > > jt