firefox button not enabling

Solutions on MaxInterview for firefox button not enabling by the best coders in the world

showing results for - "firefox button not enabling"
Pietro
12 Sep 2017
1    // fix disabled buttons via JS not enabling on page reload /
2    // back navigation.
3    
4    window.addEventListener('pageshow', PageShowHandler, false);
5    window.addEventListener('unload', UnloadHandler, false);
6
7    function PageShowHandler() {
8        window.addEventListener('unload', UnloadHandler, false);
9    }
10
11    function UnloadHandler() {
12        //enable button here
13        window.removeEventListener('unload', UnloadHandler, false);
14    }
15
similar questions
queries leading to this page
firefox button not enabling