0
Hello, how can I make the necessary code on the second and third click
Hello, how can I make the necessary code on the second and third click https://greasyfork.org/scripts/374750-randstuff-ru/code/Randstuffru.user.js
3 Réponses
+ 2
For double click instead of onClick attribute there can be used ondblclick="function-name".
0
how can this be done where should this be written?
0
Like if you are using double click on a button then in html write <button dblclick="functionName()">Button</button>
functionName depends what you keep your functions name which will be called when double clicked the button.