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 7526965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:58:54+00:00 2026-05-30T03:58:54+00:00

This is my code. It works perfectly with Chrome but when I launch it

  • 0

This is my code. It works perfectly with Chrome but when I launch it Firefox it only works at the very first call. When I try to pass data for the second time I get this error:
“attempt to run compile-and-go script on a cleared scope“.
I guess that the problem is in the function call in the “success” parameter, but I cannot understand what’s wrong.
Thank you in advance for your help.

$.noConflict();
jQuery(document).ready(function(){
in_poll();
});  

function in_poll()
    {
    jQuery.ajax(
        {
        url: "prova.php",
        cache: false,
        dataType: "json",
        success: function(data)
            {
            .... OUTPUT DATA RETRIEVED....
            in_poll();
            },        
        error: function (xhr, ajaxOptions, thrownError) 
            {        
            alert(thrownError);
            setTimeout('in_poll()', 5000);//Try againg after 5 seconds
            },
        timeout: 25000
        });  
    }
  • 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-30T03:58:56+00:00Added an answer on May 30, 2026 at 3:58 am

    This is a FF specific error and most likely occurs because of cache, you may try to add a meta like this inside head tags

    <meta http-equiv="cache-control" content="no-cache" />
    

    For more see http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/10ff69b04b88e06f/87f89aaec17c1aed

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

Sidebar

Related Questions

The following code works perfectly in Chrome and Safari, but bonks in Firefox. First
This code works perfectly in Chrome, but is blank in mobile Safari. Tried to
I have created a shader that works perfectly in Firefox, but in Chrome the
ok, this code works just fine in Chrome. But, for some reason it does
following code works perfectly on FF and Chrome but not in IE8. $(window).keyup(function(e) {
This code works perfectly in Ubuntu, Windows, and Mac OS X. It also works
I am using ASP.NET to transmit a .jar file. This code works perfectly on
This is kind of a brainteaser question, since the code works perfectly fine as-is,
I have this code to write to a file, it works perfect but I
This code works, but i dont understand why. With DeferredLoadingEnabld = false, I would

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.