Download app/js/formulario.js from chartManD/pageRed: direct link, hf CLI and curl.
- Browser
- Download file 565 Bytes
-
https://huggingface.co/spaces/chartManD/pageRed/resolve/main/app/js/formulario.js
- Command line
-
hf download hf://spaces/chartManD/pageRed/app/js/formulario.js
-
curl -L -o formulario.js https://huggingface.co/spaces/chartManD/pageRed/resolve/main/app/js/formulario.js
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(); | |
| } | |