}

Same-origin-policy Index Page 1

Javascript http request: No 'Access-Control-Allow-Origin' header is present on the requested resource error

When you try to fetch data from a different domain using javascript you will get the error: No 'Access-Control-Allow-Origin' header is present on the requested resource. This is a security feature of web browsers. The proper solution is to use CORS, check here for full solution. Alterntive you can code a custom proxy or use JSONP.