We need to add the command Access-Control-Allow-Origin to our HTTP headers on our target server. This fixes common cross-domain errors.The following command in the .htaccess file