I've been reading all the suggestions on Ways to circumvent the same-origin policy, but I don't know which one would be most successful when using dashcode, or even how to implement it. Can anyone help?
Asked
Active
Viewed 270 times
0
-
1Don't know much about dashcode, but `JSONP` is the easiest to understand and implement. – Shef Jun 26 '11 at 20:58
-
Are you writing a Mac Widget or an app? – PurplePilot Jun 27 '11 at 12:44
1 Answers
2
I've not used these solutions myself, but I'd suggest using either CORS (tutorial) or JSONP (simpler and more in-depth explanations).
If you want an easier solution, Any Origin was mentioned in the thread you linked.
The fact that you are using dashcode should not affect your javascript.

forevermac
- 38
- 5
-
-
So I'm trying to use any origin and I have everything set up, but I don't have any idea what to enter into the datasource url field in dashcode. Any ideas? – Davis Gossage Jun 28 '11 at 02:14