How do I know if a server has JSONP turned on? It is not my server, but I try to access some information from the rendered html.
Thanks in advance.
The server has JSONP turned on if you can add callback to the URL:
callback
http://example.com/api/get_info.js?callback=myfunc
and the server responds with your requested information in JSON-format, wrapped with your callback:
myfunc({ /* json formatted data goes here */ });