Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6234967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:35:21+00:00 2026-05-24T10:35:21+00:00

I am using jquery $.getJSON and keep getting the following error. Origin http://example.co.uk is

  • 0

I am using jquery $.getJSON and keep getting the following error.

Origin http://example.co.uk is not allowed by
Access-Control-Allow-Origin.

The issue i am having is it was working fine then suddenly started to do this any reason why this might happen here is my code.

http://jsfiddle.net/isimpledesign/KnUBH/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:35:22+00:00Added an answer on May 24, 2026 at 10:35 am

    You get this error when you try to make a request from your site to a site on a different domain (or sub-domain). It is possible to configure the other site to allow you to make requests (see Mozilla documentation), although this feature is not supported everywhere.

    An alternative to normal AJAX calls is JSONP, which requires the server to support it but doesn’t have cross-domain restrictions. It turns out that Blogger does support this, so you just need to modify the URL to

    var url = 'http://isimpledesign.blogspot.com/feeds/posts/default?alt=json&callback=?'
    

    and jQuery will handle it properly. (Fiddle)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suddenly, local file access using jQuery's .getJSON is not working for me on Firefox
I am trying to make a get http request using jquery getJSON function. I
I am using jQuery.getJSON to fetch the Facebook friends list, but I am not
I keep getting this 406 (Not Acceptable) error when i type in an autocomplete
I'm using jquery $.getJSON to retrieve list of cities. Everything works fine, but I'm
I am attempting to pase a a JSON data using the JQuery getJSON function.
I am using jquery and the getJSON method and I am wondering if there
Im using jQuery getJSON method to get data from my database via some php
I am using jquery getJSON with asp.net mvc controller... I cant able to get
I'm using Jquery getJson() to generate a json to be displayed on the google

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.