October 2016
Intermediate to advanced
217 pages
8h 54m
English
© Ray Nicholus 2016
Ray Nicholus, Beyond jQuery, 10.1007/978-1-4842-2235-5_12
Ray Nicholus1
(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 ...