I want to execute a function with argument from addEventListener on button click. i wrote some code,but here function is executing before button click.....below sample code....
- >Click Here
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Harshal LimayePosted Mar 9, 2021, 2:58 PM
Sachin SinghPosted Mar 9, 2021, 2:32 PM