Enable Disable Multiple File


Disable Multiple File
function disableMultipleFile(multipleFileId) {

    let multipleFile = document.querySelector('#'+ multipleFileId +' button');
  
    multipleFile.classList.remove('btn-uploadfile');
    multipleFile.classList.add('btn-uploadfile-disabled');
}

Enable Multiple File
function enableMultipleFile(multipleFileId) {

    let multipleFile = document.querySelector('#'+ multipleFileId +' button');
  
    multipleFile.classList.remove('btn-uploadfile-disabled');
    multipleFile.classList.add('btn-uploadfile');
}