May 2017
Intermediate to advanced
448 pages
10h 10m
English
Pulling in fully formed HTML on demand is very convenient, but it means having to transfer a lot of information about the HTML structure along with the actual content. There are times when we would rather transfer as little data as possible and process it after it arrives. In this case, we need to retrieve the data in a structure that we can traverse with JavaScript.
With jQuery's selectors, we could traverse the HTML we get back and manipulate it, but a native JavaScript data format involves less data to transfer and less code to process it.
Read now
Unlock full access