Can I using cross-site XmlHttpRequest in Itunes LP environment?
- by jameulrich
Itunes is based on Webkit platform and we can't use cross-site XmlHttpRequest in JavaScript because of security policy. But, as a exception, we can do that with a special header.
Here is source code and I did it successfully in Safari:
///////////////
var url = 'http://mysite.net/canvas.php';
var mybody = "Arun";
var http = new…