1
I have a list and on that list I’m trying to distinguish one click of a double click
I initially used in the HTML:
<a class = "alinhar1" href="#" ondblclick="list.oneDblClick();" onClick="list.oneClick();">
But every time I make one double click, the click is also called.
I’ve tried using a flag to try to block access to click, but without success.
I’ve also thought about just using the onClick
and then within the method check if there was another next click, but also unsuccessful
Is there any solution or alternative to help me overcome this dichotomy?
is not needed by this parameter
event
also in theonclick
?– msm.oliveira
@msm.oliveira is yes, thank you. I corrected.
– Sergio
@msm.oliveira good that the answer helped. I will still update shortly with an idea, then comment also.
– Sergio
@msm.oliveira added more info in the reply.
– Sergio