stopPropagation() and preventDefault() in JavaScript
In this article, we’ll see what is stopPropagation and preventDefault in JavaScript.
In the previous blog post, we looked at what event bubbling is and how we can implement it. If you are unaware of what event bubbling is please take a look at my blog post.
To understand stopPropagation and preventDefault in JavaScript, you need a basic understanding of event bubbling.
Read More »stopPropagation() and preventDefault() in JavaScriptKarthik is a passionate Full Stack developer working primarily on .NET Core, microservices, distributed systems, VUE and JavaScript. He also loves NBA basketball so you might find some NBA examples in his posts and he owns this blog.