| document | |
| .getElementById("downloadBtn") | |
| .addEventListener("button-donwland", showModalForm); | |
| document | |
| .getElementById("enviar-form") | |
| .addEventListener("click", enviarFormulario); | |
| document.getElementById("no-opinion").addEventListener("click", noOpinion); | |
| function enviarFormulario() { | |
| console.log("Aaaaaaaaaaaaa"); | |
| document.getElementById("formulario-satisfaccion").submit(); | |
| } | |
| function noOpinion() { | |
| window.location.replace("/"); | |
| } | |
| function showModalForm() { | |
| const form = new bootstrap.Modal(document.getElementById("form")); | |
| form.show(); | |
| } | |