skip to Main Content

Double click event function javascript

the function working well, but when I click on first element and second element then first once again, He skips the highlight and moves to the second event, remove direct. HTML <button class="cancelBtn">Cancel highlighting</button> <div> <a href="#" class="btn">Button</a> <a href="#"…

VIEW QUESTION
Back To Top
Search