[jQuery] jQuery.getJSON Current Url Prefixed

[jQuery] jQuery.getJSON Current Url Prefixed


hi am using jQuery.getJSON to request a cross-domain page using the following
code
jQuery.getJSON(crossDomainUrl, function(result) {
processResult(result);
});
but i never reach the cross domain url as the current url is always prefixed
to it, like so
Current Page Url : http://localhost/page.aspx
Cross Domain Url : http://remoteServer
getJSON final request url is :
http://localhost/page.aspxhttp://remoteServer
so i always get a 404 error
can you please tell me why is this happening
thanks
--
View this message in context: http://www.nabble.com/jQuery.getJSON-Current-Url-Prefixed-tp21201707s27240p21201707.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.