Published
- 1 min read
click on child prevent click on parent
The solution for this is noted below
click on child prevent click on parent
Solution
// Use `.stopPropagation();`, even if you're not using JQuery
$('#clickable a').click(function (e) {
e.stopPropagation()
})
Try other methods by searching on the site. That is if this doesn’t work