Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

Firefox 4 refresh bug -- option selected change not reflected on refresh

  • 4 odgovori
  • 64 ima to težavo
  • 12 ogledov
  • Zadnji odgovor od QuestPC

more options

There is a bug in refreshing the display for a form when a change has been made to option selected. I reproduced the problem with the small file below -- this works in other browsers including Firefox 3.x -- if you display the page, update the option selected for example in person 2 change option selected from none to Dennis and refresh the page the browser will not update the display but a look at the page source shows the "updated" information. I reproduced using Firefox 4 on windows XP and windows 7.

There is a bug in refreshing the display for a form when a change has been made to option selected. I reproduced the problem with the small file below -- this works in other browsers including Firefox 3.x -- if you display the page, update the option selected for example in person 2 change option selected from none to Dennis and refresh the page the browser will not update the display but a look at the page source shows the "updated" information. I reproduced using Firefox 4 on windows XP and windows 7.

Vsi odgovori (4)

more options

You have to bypass the cache to clear already entered data in a form.

Reload a web page and bypass the cache with:

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)
more options

Add the HTML attribute autocomplete="off" to any <select> or <input> you do not want to see this behaviour on.

more options

With old versions of Firefox it was possible to fix aggressive client-side caching by restoring of the form values programmatically in Javascript body.onload handler. With FF4 now this does not work. I set selected option values, these are properly stored in DOM tree (according to Firebug inspector), however visual display of select/option is not updated. This is a plain bug, imo.

more options

I mean, doing aggressive-cache way, it should not execute body.onload handler, or it should respect DOM values set by Javascript onload handler. Currently it executes Javascript handler, updates DOM tree and NOT re-rendering it which is plain wrong (DOM and visual representation do not match).