src/main/resources/static/js/viewController.js
/**
 * DISABLED BUTTON FORM
 * @param {String} buttonId 
 */
DISABLED BUTTON FORM
@param {String} buttonId
DISABLED BUTTON FORM @param { String } buttonId
function disableButtonOnSubmit(buttonId)
{
    const button = document.getElementById(buttonId);
    button.value = "Processando...";
    button.disabled = true;
}
function disableButtonOnSubmit ( buttonId ) { const button = document . getElementById ( buttonId ) ; button . value = "Processando..." ; button . disabled = true ; }
DISABLED BUTTON FORM
 @param {String} buttonId
DISABLED BUTTON FORM @param { String } buttonId