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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:08:53+00:00 2026-05-13T18:08:53+00:00

OK so i have this website, http://www.leinstein.dk . You will see Hello World! This

  • 0

OK so i have this website, http://www.leinstein.dk.

You will see “Hello World!” This is from ok.php, ive made a script that refreshes ok.php after 10 seconds. Anyways, This does not show in IE.
I dont know why, and i hope you can help me out.

Here’s My script:

function ajax_update()
{
      cache: false
 /* var wrapperId  = '#wtf'; */
 var postFile = 'ok.php';
    $.post("ok.php", function(data){
 cache: false
          $("#wtf").html(data);
      });  
 setTimeout('ajax_update()', 10000);

}   

And here’s index.php:

<?
header("cache-control: no-cache");
?>
<html>
<head>
<link href="style.css" type="text/css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="ajax_framework.js" language="javascript" charset="UTF-8"></script>
</head>
<!-- AJAX UPDATE COMMENTS BEGIN -->
<body onload="ajax_update();">
<!-- AJAX UPDATE END -->
<br>

<div id="wtf"></div>
</body>
</html>

Thank you in forward..!

  • 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-13T18:08:54+00:00Added an answer on May 13, 2026 at 6:08 pm

    You can’t just put cache: false throughout your code in random spots. Please learn basic Javascript syntax before starting to write code. You’ll probably learn much more by following a basic tutorial than posting a bunch of localized questions here on StackOverflow.

    I will, however, show you what your function should look like this time. But I strongly recommend reading the tutorial that I have provided a link to.

    function ajax_update()  { 
      $.post("ok.php", function(data){ 
        $("#wtf").html(data); 
        setTimeout(ajax_update, 10000);
      });
    }    
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi Guys I have this website: http://www.godfreysammut.com . As you can see in the
I have downloaded LEDA free edition from this website http://www.algorithmic-solutions.com/leda/ledak/index.htm First quetion: I want
i have an asp.net website http://www.site.com . This web app is also running on
I have (from the sed website http://sed.sourceforge.net/sed1line.txt ) this one-liner: sed -e '/./{H;$!d;}' -e
I was reading this tutorial from the DNN website http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2675/DotNetNuke-Skinning-101-Part-2.aspx I found the tutorial
I have this problem: On this website: http://www.azercell.com/WebModule1/mainservlet?cmnd=sms&lang=en I'm trying the following script, it
I have integrated this menu in my website : http://www.htmldrive.net/items/demo/979/simple-google-style-Dropdown-menu-with-jQuery I want the menu
I tried an example from this website: http://www.cs.cf.ac.uk/Dave/C/node24.html Sometimes, the output does not show
I have this website: http://www.princeslick.com/?page_id=28 and I have installed the nextgen plugin on it,
I have this website: http://www.ryansammut.com/orijen/contact.html . The footer is also being more lenghty than

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.