Error using server-side source with full url

Error using server-side source with full url

alfredojezalfredojez Posts: 1Questions: 0Answers: 0
edited September 2012 in General
For some reason I'm able to call my external Source when using absolute URLs, like
"sAjaxSource": "http://comparabienservices.elasticbeanstalk.com/services/pe/ahorros.php",

When using relative URLs works fine:
"sAjaxSource": "/services/pe/ahorros.php",

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    This is a security feature of your web-browser. See: http://en.wikipedia.org/wiki/Cross-site_scripting .

    To 'get around it' you need to use a method such as JSONP.

    Allan
This discussion has been closed.