Click here to Skip to main content
15,867,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
Hi,

I have cache problem with google:
I have the site <a href="http://www.niceonecode.com">www.niceonecode.com</a>
JSon not workig in http://webcache.googleusercontent.com/
Posted
Updated 24-Dec-14 1:19am
v3
Comments
Mohamed Rafiq K 16-Oct-14 1:46am    
not clear give sample code that you are tried

in general for cross domain access you need to use jsonp instead of json

This is because javascript doesn't allow cross-domain requests.To overcome this you need to use cross-domain requests.

Try the below jquery

$.ajax({ url: a_cross_domain_url, xhrFields: { withCredentials: true }});
 
Share this answer
 
try following using jsonp.

Jquery Cross-Domain ajax call using JSONP[^]
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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