Because it is one of the most widespread libraries in use, jQuery also boasts a broad range of plugins.
The jQuery library contains the following features:
- HTML/DOM manipulation
- CSS manipulation
- HTML event methods
- Effects and animations
Using jQuery in Monetate Actions
<head> section of a webpage, this is not a major issue since the library is either cached locally for many users or its load time is minimal because it is called early during the page load.
Example script declaring the jQuery library
If you have concerns about timing for whatever reason, it is possible to poll for the jQuery library so as not to attempt to run any code until it becomes available. This will be discussed in depth later in our Developer Training section.