Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Why does history back not work on onclick in Firefox?

  • 5 válasz
  • 7 embernek van ilyen problémája
  • 1 megtekintés
  • Utolsó üzenet ettől: thakurvj23

more options

Why does javascript:history.back() not work on onclick in Firefox? All fields in the form got empty if recaptcha filled wrong and page is reloaded. This is working correct on chrome , but not on firefox. Please suggest how we can resolve this issue. Make it work like chrome that on reload back page all the fields should not get empty.

Why does javascript:history.back() not work on onclick in Firefox? All fields in the form got empty if recaptcha filled wrong and page is reloaded. This is working correct on chrome , but not on firefox. Please suggest how we can resolve this issue. Make it work like chrome that on reload back page all the fields should not get empty.

Kiválasztott megoldás

The server is sending "no-store" with the page, so Firefox does not store the form after you leave the page. (See attached screen shot.)

Válasz olvasása eredeti szövegkörnyezetben 👍 1

Összes válasz (5)

more options

Firefox usually will retain form data -- if the site allows Firefox to cache the page.

To check the caching instructions, you can open the web console (Ctrl+Shift+k) and then load the form in that tab. To clear the cache and pull fresh from the server, use Ctrl+Shift+r. Then click the URL in the web console to view the headers, scroll down to Response Headers, and check Cache-Control. Anything like no-store that would bar Firefox from keeping the form data in cache?

And/or, can you provide a link to a form that isn't working the way you want?

more options

the above you have mentioned doesn't seems to solve my issue

Here is the link of the form. Live form

When you enter wrong captcha code in firefox after reloading the page it doesn't retains the value. I have used the cache control but no success.

Please let me know if you can help.

Thank you

more options

Kiválasztott megoldás

The server is sending "no-store" with the page, so Firefox does not store the form after you leave the page. (See attached screen shot.)

more options

By the way, when I intentionally entered the CAPTCHA wrong, I got an alert and was able to correct it before trying to submit the form. I'm not sure of the steps you are using to create the problem.

more options

Hi Jeffer

Thank you so much for helping me. It solved the issue

Thank you VJ