views:

2171

answers:

4

Hi there,

i could call a page inside the same domain, but its not working when i calling a page in a sub domain due to security issues. what i have to do? help me!!!

+2  A: 

You can set the document.domain but if I remember correctly a few browsers (Opera) will not even allow this. I am afraid your answer is to create some sort of proxy on the subdomain that you can talk through

redsquare
A: 

thanks a lot redsquare...

A: 

Due to security reasons, most browsers don't allow ajax requests to different domains. So as far as I know, you won't be able to do that.

Murat Ayfer
A: 

you can try JSONP callback's

braindead