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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:05:16+00:00 2026-06-14T23:05:16+00:00

This is a generic question so not really any code to show in this

  • 0

This is a generic question so not really any code to show in this question.

I am having a problem getting a particular jquery script to run in IE9 (indeed any version of IE)

Most annoyingly it appears to be slightly hit or miss which is making debugging this very difficult.

In FF and Chrome it runs completely without issue.

But in IE the script will only run if you press F5 to refresh.

Obviously I am using

$("document").ready(function() {

    alert("start control script");
    // lots more code here
};

By observation it appears that once I have run the script once if I subsequently logout and log back in all is well. But If I close the browser completely I am back to needing to press F5 to get the script started. This is only happening in IE.

I imagine that it works once I have refreshed and logged out due to some kind of caching which is lost when I close the browser completely.

Any thoughts welcomed.

  • 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-14T23:05:17+00:00Added an answer on June 14, 2026 at 11:05 pm

    You have written it incorrectly, document is a global object & does not need quotes around it.

    $(document).ready(function() {
    
        alert("start control script");
        // lots more code here
    });
    

    Notice the lack of quotes around the word document & the missing parenthesis at the end.

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

Sidebar

Related Questions

This is not a specific question but a generic question which was in my
This question refers to affiliate marketing, but really is a generic question about intercepting
I know this is probably a really simple question but I'm having a brain
I'm not really sure how to ask this question, but basically I want to
This is kind of more generic question, isn't language-specific. More about idea and algorithm
This is a bit of a generic question. I am working on an iOS
This may sound like a very generic question but here it goes. I have
So this is more of a generic question. I seem to keep finding myself
This is a question about generic c++ event driven applications design. Lets assume that
This is a very generic 'best practice' question, but here's an example. Let's say

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.