I know that you cannot make ajax requests crossdomain or even to a different subdomain of the same domain. I have a static.domain.com
where all my javascript files reside (static content). All the javascript files are included on domain.com
. There is no inline javascript code domain.com
.
Question: I want a solution to make ajax POST requests
from static.domain.com
to domain.com
. Is that possible and to behave the same in different browsers?
Later Edit: I don't want to use jsonp
. I want to send POST requests
and read the response
. Some of the requests include file uploading.