I’m a django developer not good at javascript. I have a django template i really want to use Javascript for. i tried reading online for help but i’m not understanding
I want to add an addEventlistener
to this code below
<div class="box-element hidden" id="request-info">
<button id="send-payment">Send request</button>
Also, I want it to display a response when submitted. Response like “Request sent”. Please I know about console.log
, I don’t want it in console.log
.
I know JS is really good at this.