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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:50:13+00:00 2026-05-22T15:50:13+00:00

Today i StumbleUpon a strange cache behavior of Firefox 4 which is described bellow.

  • 0

Today i StumbleUpon a strange cache behavior of Firefox 4 which is described bellow.

  1. There is a form

    <form name="widget">
    <input type="hidden" name="position" value="-1" />
    </form>

  2. On an arbitrary event i have changed it to say “rss”.

  3. After refreshing the page using “F5”, i access the value of

    alert(document.widget.position.value);

    which is returning “rss“. WHY THE OLD VALUE?

  4. But after refreshing the page using “Control+F5”, i access the value of

    alert(document.widget.position.value);

    which is returning correct “-1“. WHY NOT FIRST TIME?

I am really confused by this behavior.

NOTE: Only FireFox4 is doing it, chrome i fine but did not tested on ie.

  • 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-22T15:50:14+00:00Added an answer on May 22, 2026 at 3:50 pm

    I think it’s FF’s caching of forms/input element values that’s bugging you. You may want to use:

    <form id="widget">
     <input type="hidden" id="position" value="-1" />
    </form>
    

    and to change the value:

     document.getElementById('position').value = /*[your value]*/;
    

    Furthermore <form ... autocomplete="off"> seems to work.

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

Sidebar

Related Questions

Today I am stuck with the spring-form with the POST method which doesn't give
Today I experienced a very strange behavior with my XCode (using Version 4.2, iOS
Today I started observing some new kind of error which does not allow me
Today I decide to make a resolution which consist of testing my Java application
Today's problem in my code is kind of strange, and I could not reproduce
Today I had a strange encounter with gcc. consider the following code: float len[ELEM+1];
Today I released a small asp.net beta web application which allows internal staff to
Today i tried to write a program which checks some checkboxes for me on
Today I saw weird behavior when I typed window.close it showing function close() {
Today I had a really great idea for a project, unfortunately there is a

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.