pageRed / app /js /formulario.js
chartManD's picture
agregada encuesta de satisfaccion y coreccion de ortografia
2947f68
raw
history blame contribute delete
565 Bytes
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();
}