Browse - Programming Tips - A restriction of JSON is that you can only call back to the originating domain.
Q. A restriction of JSON is that you can only call back to the originating domain.
Is there a way around this?
A. This rule does not apply to <script> so you can inject
<script> tags into your DOM and return JSON. This exception
maybe be restricted in the future.
Its supposed to be used for scripts but you can used it for data.