Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

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

  • 4 odpowiedzi
  • 64 osoby mają ten problem
  • 12 wyświetleń
  • Ostatnia odpowiedź 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.

Wszystkie odpowiedzi (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).