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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:35:03+00:00 2026-05-15T01:35:03+00:00

I am soo angry right now. I lost hours and i dont know why

  • 0

I am soo angry right now. I lost hours and i dont know why this happens. Its a semi rant but i’ll try to keep it short

  1. My code would not work, even after refreshing it was broken
  2. I fixed my code or so i thought because it stops working without me changing anything (you would think i am imagining this…)
  3. I somehow decide to make a new window or tab i run my code and verifies it works.
  4. I write more code and see everything is broken again
  5. I write test in a new window and see my code does work
  6. I see my code doesnt work and firebug DOES NOT HELP
  7. I notice when i create a new tab everything works
  8. I realize refreshing does not work and i MUST make a new tab for my code to work.

Then i knew instantly what the problem was. I modify a display:none textbox but i set the values incorrectly. I cant see it because it is hidden. Now some of you might say its my fault because when doing a refresh all of the data may be cache. But here is the kicker. I was using POST data. I posted in between of the refresh each and everytime.

Whats the point of using POST when the same data is cached and use anyways? If theres no chance for a search engine to follow a block user get link then why should i bother making anything post when security or repeat actions are not an issue? POST didnt seem to do anything.

  • 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-15T01:35:03+00:00Added an answer on May 15, 2026 at 1:35 am

    Sounds like you’re being hit by form-field-value-remembering.

    When you use back and forward (but when the bfcache isn’t used in browsers that have it), or in some browsers when you hit reload, the browser attempts to keep the values of each form field that were present when the page was last unloaded. This is a feature intended to allow the user to navigate and refresh forms without losing all the data they’re laboriously typed into them.

    So you can’t rely on the value of a form field being the same at page load time as it appears it should be from the HTML source. If you have DOM state that depends on the value of a form field (such as for example a form where some of the fields are hidden or disabled depending on the value of another field), you must update that state at page load time to reflect the field values that the browser has silently dropped into place (no onchange events occur). And don’t use hidden inputs to store scripting variables at all.

    The exact behaviour varies across browsers. For example some browsers keep the values of hidden fields and some don’t. Mozilla and WebKit put the new values in instantly as the fields are parsed into the DOM, whilst IE only does it on window.onload… and Opera, aggravatingly, does it just after window.onload, so you can only catch it by setting a 0-timeout to update state after onload. It’s a nasty mess.

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

Sidebar

Related Questions

I have this SQL query but its running soo slow, SELECT wr.wr_re_id as ReID,
I've been trying to figure this out for hours and it's soo frustrating! I
Soo, I think this might be early, but I have a need for usb
Ok I know this sounds like a stupid question but I JUST CAN NOT
I'm SOO close to finishing a pet project, this is the last part I
I know basics of UML and java's OO interpretations using class diagrams. But after
I'm not soo good at MySQL. But want to improve it a bit, to
Soo this problem involves me rolling a pair of dice and estimate the probability
I know I can do most of this by hacking Trac and using Git
So I assume this is something I'm doing flagrantly wrong. It is soo slow

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.