1
Hello I have a question wanted to know how to capture a click event and send to the back end, I thought to do with routes but I think it would not be cool, I am using Node
1
Hello I have a question wanted to know how to capture a click event and send to the back end, I thought to do with routes but I think it would not be cool, I am using Node
Browser other questions tagged javascript node.js javascript-events back-end ejs
You are not signed in. Login or sign up in order to post.
Use
XmlHttpRequest
orfetch()
, regardless of the technology used for the back-end the process will always be HTTP.– Guilherme Nascimento
@Jorgevitorp. For future questions, based on the scope of the site, it is worth understanding What is Stack Overflow (https://pt.meta.stackoverflow.com/questions/7256/o-que-%C3%A9-o-stack-overflow), how to make a Minimum, Complete and Verifiable Example (https://answall.com/help/minimal-reproducible-example) and read the Stack Overflow Survival Guide (short) in English (https://pt.meta.stackoverflow.com/questions/8089/guia-survivor%C3%aancia-do-sopt vers%C3%a3o-short).
– Renato Junior