Code Communication | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Code Communication

Is there a way of making something happen on JavaScript when something has happened in html? (E.G. a bit like onclick, onload etc but so when a button is clicked in html, a script begins in JavaScript or CSS)

9th Jul 2018, 3:22 PM
George
George - avatar
1 Réponse
+ 1
Thats an onclick event. Yes they're supported.
9th Jul 2018, 4:23 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar