O'Reilly logo

Beyond jQuery by Ray Nicholus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

©  Ray Nicholus 2016

Ray Nicholus, Beyond jQuery, 10.1007/978-1-4842-2235-5_12

12. Common JavaScript Utility Functions

Ray Nicholus

(1)Johnson Creek, Wisconsin, USA

Here in chapter 12, I plan to match jQuery’s utility functions1 against the native APIs defined in the ECMAScript specification. Most of the code in this chapter will work both in the browser and on the server (with the notable exception of DOMParser and any references to window or document in examples). In modern browsers, jQuery is unnecessary most of the time. But even where jQuery saves a few keystrokes, it’s important to be able to roll your own utility function, even if you do choose to pull in a library for some of the more complex and lesser-supported features. After all, understanding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required