Dynamically Require jQuery for a Function
Download require-jquery-for-function.js (1.5 KB)
Last Modified:
Sat., Mar. 11, 2017
SHA-1:
a7f7ed98a6df8f668e9b5525ceb077583b13b232
This is a simple function that dynamically adds jQuery to a web page and waits for it to load before executing a dependent function. An example usage would be when testing code that leverages jQuery in the JavaScript console.