I have the following JS function, running in \'onclick\' of my HTML button:
function exportarDadosRelatorio2() { if ($("#Relatorio").val()