May 2017
Intermediate to advanced
448 pages
10h 10m
English
As we know, we typically construct a jQuery object instance by passing a selector expression to the $() function. Within the resulting object, there lies an array structure containing references to each DOM element that matched that selector. What we haven't seen, though, are the other properties hidden in the object. For example, when a DOM traversal method is called, the .prevObject property holds a reference to the jQuery object the traversal method was called upon.
To see the prevObject property in action, we can highlight an arbitrary cell of our table and examine ...
Read now
Unlock full access