Possible Duplicate:
Ways to circumvent the same-origin policy
I'm trying to get xml data from this url
http://www.rabodirect.com.au/includes/figures.xml
Here is my simple code:
$(document).ready(function ()
{
$.ajax({
url: 'http://www.rabodirect.com.au/includes/figures.xml',
type: 'GET',
dataType: 'xml',
timeout: 10000,
error: function () {
alert('Error loading XML document');
},
success: function(xml)
{
alert(xml);
}
});
});
But the error alert occurs.
Is there any ideas, why can't I get xml data?
Thanks