Sunday, 18 August 2013

have two callback in one jsonp file

have two callback in one jsonp file

how can I have a valid jsonp file that contains two different callback
test.jsonp
a_callback({x:1});
b_callback({x:1});
when I put two callback in one file I get
Uncaught ReferenceError
error

No comments:

Post a Comment