JavaScript onclick | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

JavaScript onclick

How to access (this) onclick

26th Oct 2019, 7:51 PM
Saif Eldeen
Saif Eldeen - avatar
2 Answers
29th Oct 2019, 12:05 PM
Gordon
Gordon - avatar
+ 1
do you want to access the code thats stored in the onclick attribute in an dom element?
26th Oct 2019, 8:24 PM
Anton Böhler
Anton Böhler - avatar