Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox hide input form elements and buttons after I refresh page

more options

Hello,

When I open my application in Firefox, form elements dissapear, I see onlu blank page, but I have found that at the end of the <div> which displays form elements, I found the attribute <div *my_form_goes_here* style="visibility: hidden !important;"</div> at DOM. I wonder why this is happening and is it the fault of Mozilla or a bug on the frontend side of my application. But at the other browsers this problem do not appear. I tried to open the form in safe mode, incognito, no add-ons, tried to create a new Firefox account, tried without logging in, but none of these options gave the expected result - the tab disappears after I refresh the page. I am asking for help.

Hello, When I open my application in Firefox, form elements dissapear, I see onlu blank page, but I have found that at the end of the &lt;div&gt; which displays form elements, I found the attribute &lt;div *my_form_goes_here* style="visibility: hidden !important;"&lt;/div&gt; at DOM. I wonder why this is happening and is it the fault of Mozilla or a bug on the frontend side of my application. But at the other browsers this problem do not appear. I tried to open the form in safe mode, incognito, no add-ons, tried to create a new Firefox account, tried without logging in, but none of these options gave the expected result - the tab disappears after I refresh the page. I am asking for help.

Modified by cor-el

All Replies (1)

more options

Is there any difference if you bypass the cache by either:

(A) Clearing Firefox's web content cache before loading the page, or

(B) Reloading with Ctrl+Shift+R ?

If it works on first visit and not from cache, this can be caused by css and scripts that hide and unhide the page during rendering -- based on the load event. Firefox does not Firefox the load event in some cases when restoring a page from cache. https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/1.5/Using_Firefox_1.5_caching

We've had threads on working around this in WordPress themes, but since each situation is different, I can't provide a recipe for your site.