The A List Apart Blog Presents:

Implicit and Explicit Loops in jQuery

Article Continues Below

One of jQuery’s strengths is that it allows one to act on entire groups of elements without writing out a for loop or using jQuery’s each method to iterate through every element. Those loops are still taking place behind the scenes though, and we can use that abstraction to help—or hinder—the efficiency of our code. This post from Elijah Manor will help you to identify some of jQuery’s “implicit” loops and outlines some of their performance implications.

No Comments

Got something to say?

We have turned off comments, but you can see what folks had to say before we did so.

More from ALA

A Content Model Is Not a Design System

Why do so many content models still look more like design systems rather than reflecting structured data? Mike Wills takes us on a personal journey as he examines his own past experiences and invites us to conceive content models that articulate meaning and group related content together for use on any channel.
Content

Voice Content and Usability

In this excerpt from Voice Content and Usability, author Preston So talks about the messy, primordial nature of human speech and challenges with programming computers to deal with these complexities.
Content

Designing for the Unexpected

As devices continue to diversify in dizzying ways, how can we make sure our work on the web stays as relevant as ever for the long haul? Cathy Dutton shares how practitioners must perfect designs both for the paradigms of the present and the twists of the future, come what may.
Design