Using Data

No 'Access-Control-Allow-Origin' header is present on the reques

Hi, I had a little app working until just two days ago, when I started receiving a CORS error: "No 'Access-Control-Allow-Origin' header is present on the requested resource". I tried adding the jsonp callback to no avail. I am able to access the generated url via the browser.

 

What I am doing is generating state options for a select list.

 

The offending function, getStateList(), can be seen at:

https://github.com/Code-for-Miami/iam1of.us/blob/master/js/script.js#L97

 

I tried appending &jsonp=getStateList to the url, but this didn't fix the issue.

 

Has anything changed? Any help is appreciated.

 

Thanks in advance.

Tags

Voting

2 votes
2 up votes
0 down votes
Active
Idea No. 65