Using Method Chaining in jQuery
Using method chaining in jQuery helps to ensure that your code stays as lightweight as possible. Method chaining allows you to apply many methods to one single selector, thus limiting the amount of times you have to re-write the same selector over and over again. To see how it works, here’s some jQuery code that […]