Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › General Discussions › Buttons › OnClick problem in button. › Reply To: OnClick problem in button.
October 25, 2024 at 10:13 am
#111650
Participant
I tried but this doesn’t solve my problem.
I tried with
<script>
const button = document.querySelector(“#button#);
button.addEventListener(‘click’, function(event) {
alert(‘Ci sono ‘ + button.form);
});
</script
but button.form is undefined.
Tried also with this.form, same result.
How can I solve.
Tks
-
This reply was modified 12 months ago by
tbettinazzi@axioma.it.
-
This reply was modified 12 months ago by
tbettinazzi@axioma.it.