Answers for "click on child prevent click on parent"

0

click on child prevent click on parent

// Use `.stopPropagation();`, even if you're not using JQuery
$("#clickable a").click(function(e) {
   e.stopPropagation();
});
Posted by: Guest on July-18-2021

Code answers related to "click on child prevent click on parent"

Code answers related to "Javascript"

Browse Popular Code Answers by Language