+ 2

Js

How can i count click of a user in my web using js

23rd May 2020, 4:56 PM
Smart Coder
Smart Coder - avatar
2 Respostas
+ 6
Simply place a variable declared outside click function with initial value as 0 and increment it inside click function
23rd May 2020, 5:07 PM
Abhay
Abhay - avatar
+ 9
Yes use increment varible
1st Jun 2020, 12:20 PM
Coder
Coder - avatar