Could someone enlighten me as to why including www in a ajax request causes it to fail.
i.e. This works:
$('#mydiv').load('http://mydomain.com/getitems');
But this doesn't (returns nothing)
$('#mydiv').load('http://www.mydomain.com/getitems');
Note that www.mydomain.com/getitems is a valid domain, in the sense that if I point my web browser to it I am able to load the page.