Important Tips Every jQuery Developer Should Know
There are number of ways to achieve a task in jQuery but knowing
what to use and when to use a particular, separates you from other
developers. This article contains some basic guidance that every jQuery
Developer must keep in mind while working on their projects and
websites.
The Absolutely Awesome jQuery CookBook. Covers jQuery 1.11, 2.1 and jQuery UI 1.11.
1. stopPropagation or preventDefault or return false?
Developers
new to stopPropagation, preventDefault and return false are often
confused with which technique to use and when. This section will clear
that confusion.
stopPropagation()
To
understand stopPropagation, we need to understand event bubbling first.
Let’s take an example. Let us say you have a link <a> inside a
<div> as shown here....
No comments:
Post a Comment