No est谩 cargando correctamente el Javascript requerido que env铆a los datos a trav茅s de AJAX. Estoy usando Google Chrome.
You are not correctly loading the required Javascript that sends the data through AJAX. I am using Google Chrome.
I do not follow. Our demos hosted on Github both work and have no such console errors in Google Chrome v81. Demo pages:
https://dwyl.github.io/learn-to-send-email-via-google-script-html-no-server/
https://dwyl.github.io/learn-to-send-email-via-google-script-html-no-server/test.html
@Viluppo please provide as much detail as you can otherwise we cannot help.
Is your web page deployed somewhere online? Can you share the link?
Hola muchas gracias por contestar r谩pidamente, algo a aclarar es que lo estoy probando en gitlab, por un tema que decidimos usar las paginas est谩ticas de gitlab.
Lo he hecho publico para que lo puedan ver, funcionar funciona perfectamente el envi贸 de mail.
Lo 煤nico que no realiza es la ejecuci贸n del ajax para que mantener al usuario en la misma pagina
Pagina del proyecto
https://gitlab.com/calabroadrian/chatbotprueba.git
@Viluppo try changing the the src of the script on line 202
https://gitlab.com/calabroadrian/chatbotprueba/-/blob/master/public/index.html#L202
From:
<script data-cfasync="false" type="text/javascript"
src="https://cdn.rawgit.com/dwyl/html-form-send-email-via-google-script-without-server/master/form-submission-handler.js"></script>
To:
<script data-cfasync="false" type="text/javascript"
src="https://calabroadrian.gitlab.io/chatbotprueba/form-submission-handler.js"></script>
Yeah, it looks like you have an earlier version of our script (it has id=gform instead of class=gform). Loading our Javascript (which is newer) is causing problems. So you can load the old JS you have to get it working, or upgrade your form to the latest version (change from id to class, and move the thank-you message inside the form element, I think those are the biggest changes to make).
Mil gracias a ambos ya pude hacerlo funcionar
Most helpful comment
Mil gracias a ambos ya pude hacerlo funcionar