This question already has an answer here:
I get this error when using forms, like likebuttons, sending comments or opening a dialogue window.
I tried to put the CORS header into my apache2 config and htaccess file.
Header set Access-Control-Allow-Origin "*"
</div>