Click here to Skip to main content
16,018,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How to do Cross Domain Request a Json ?

Please help me out. I have used ajax as well as get and getjson methods but it didn't work.
I have different application in PHP from which i'll receive data.
Posted

 
Share this answer
 
For Cross Domain Request, you have to mention datatype 'jsonp'
Jquery Cross-Domain ajax call using JSONP[^]
 
Share this answer
 
Comments
Gaurav Gupta A Tech Guy 29-Mar-14 2:14am    
It is showing me error....

Servidor de error 404 !! error is parseerror

What should i do now ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900