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

  • SEARCH
  • Home
  • 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 8756853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:10:04+00:00 2026-06-13T14:10:04+00:00

I have a iframe app. I am getting a alert that says -error in

  • 0

I have a iframe app. I am getting a alert that says -error in chrome for top.location.href .

jQuery.ajax({
          type : 'get',
          url : 'check_if_fb_data_set.php',
          success : function(response){
          if(jQuery.trim(response)  == 'success') {
            top.location.href = "http://mysite.com";
          } else {
                setTimeout(CheckIfFbDataSet,2000);
          }                     
        }, error : function (jqXHR, textStatus, errorThrown){
          console.log(errorThrown);
        }
});

I have tried

  1. location.reload()
  2. window.location.href = window.location.href;
  3. document.write(‘ meta refresh………’);
  4. document.write(‘< script> window.location …….. < /script>’);

Third one didn’t work but all 4 other gave me the same error. I don’t have other ways to test.

  • 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-06-13T14:10:05+00:00Added an answer on June 13, 2026 at 2:10 pm

    The issue was that i had another ajax function with error callback which was getting triggered and there i had the alert(textStatus +''+ errorThrown)

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

Sidebar

Related Questions

We have an ASP app that's sitting in an iframe on a page which
I have a facebook iframe app, and I have just noticed that a basic
I'm building an iframe app that will have a few mentions of the Facebook
I have a iframe application, in that app i put a fb like plugin.
I have iframe based facebook app, I just want to do is that whenever
I have a Facebook Canvas iframe app. In that, I have a SWF object
I have a Facebook iframe app that runs on various Facebook pages. I can
Let's say i have a Facebook page tab (iframe) app that i want to
I have a Facebook app that is built as an iFrame. I am using
I have a facebook app run inside an iframe. The problem is that if

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.