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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:21:29+00:00 2026-06-03T19:21:29+00:00

I have read many posts(problems) with IE and jquery posts, but never thought I’d

  • 0

I have read many posts(problems) with IE and jquery posts, but never thought I’d be asking how to make it work in Firefox, as it works great in IE9(with headers for no cache) and Chrome.

$(document).ready(function(){
    setInterval(function(){
        $.post("dashBoardsql.php", {track : 2}, function(pendingReq){
            $("#myTable").html(pendingReq);
            }),
            "html" });
}, 27000);

Is my jquery code, like I said, it works fine in IE9 and Chrome, but I have to refresh the page in FF12 to see an update passed back by pendingReq. I’ve used Firebug to watch the console with the POST data, and it just sits until I F5 the page. Also, no errors are reported and my header for no-cache, must revalidate is in place:

header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past

Any suggestions? Also of note, testing is being done with WAMP on my local machine, so no cross-domain issues

SOLVED! The issue ‘was’ a syntax error, but not in the way suggested, @KevinB example on fiddle showed me, from the original code above, it now looks like:

$(document).ready(function(){
    setInterval(function(){
        $.post("dashBoardsql.php?_=" + $.now(), {track : 2}, function(pendingReq){
            $("#myTable").html(pendingReq);
            }),
            "html"
}, 27000);
});

Plus all the header info, but I see all the new timestamps appear and updates happen. Thank you all!

  • 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-03T19:21:31+00:00Added an answer on June 3, 2026 at 7:21 pm

    Try adding an anti-caching string to the url.

    $.post("dashBoardsql.php?_=" + $.now(), ...)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read many posts regarding detection of popup blocker by javascript code but
I have read many questions about Android, J2ME and RecordStore , but I still
I have read many questions about the facebook login but until not I didnt
I have read in many places that WPF combo does not support autocomplete but
I am really struggling on this one; I have read many different posts and
I have read many posts about how to specify the foreign key name in
I have read many other posts on here that state the same issue and
I know there have been many posts regarding array sorting, but I have looked
I have read many solutions but I haven't got the working one yet. My
I have read many fine algorithms for identifying the most significant bit for 32-

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.