Monday, December 10, 2012

Todoist : Solving cross domain security policy


From https://todoist.com/API/help

Solving cross domain security policy [top]

You cannot use AJAX to directly communicate with Todoist, this is due to browser security policy. You can solve this by communicating with Todoist using a script tag:
var script = document.createElement('script');
script.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(script);
The response data will look like this (callbackFunction will be called):
callbackFunction({ JSON data here });

1 comment:

  1. Play At Least 200% Bonus on the 'Sandberg' Slots
    So, it william hill means you have 샌즈카지노 more chances to win the 500 coins! Then you'll get even more chances to get more wins. So it's quite simple, but ボンズ カジノ you will get even more money

    ReplyDelete