Sections
addeventlistener
1 thread tagged with this topic
Threads tagged addeventlistener
- •
addEventListener runs my function immediately instead of on click
ok this is driving me crazy. my function runs the moment the page loads and then clicking the button does nothing at all. console.log shows "clicked" before I...
2replies