Monday 8 April 2019

c# - How to get the cross domain data with jQuery ? getting Error

I am using jQuery to fetch the cross domain data but I am getting this error



SyntaxError: missing ; before statement
here is my code






when I change datatype from jsonp to json then i am getting this error
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://heald-chiampa.tributes.com/funeral_homes/search?json=1. (Reason: CORS header 'Access-Control-Allow-Origin' missing).

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...