Answers for "firefox button not enabling"

0

firefox button not enabling

// fix disabled buttons via JS not enabling on page reload /
    // back navigation.
    
    window.addEventListener('pageshow', PageShowHandler, false);
    window.addEventListener('unload', UnloadHandler, false);

    function PageShowHandler() {
        window.addEventListener('unload', UnloadHandler, false);
    }

    function UnloadHandler() {
        //enable button here
        window.removeEventListener('unload', UnloadHandler, false);
    }
Posted by: Guest on October-05-2021

Code answers related to "firefox button not enabling"

Code answers related to "Javascript"

Browse Popular Code Answers by Language