$.getS cript , however, it has several disadvantages:?_=1242843920520 ). Why it was so hard done, remains a mystery to me.$.requireS cript( url , callback , [ context ], [ options ])url - the URL of the loaded script (maybe an array of URLs)callback - callback function that is called after loading scriptscontext - the context in which the callback function is called (optional)options - parameters; currently only one parameter is supported - parallel , indicating whether parallel loading should be used for several scripts ( true by default)$.loadS cript renamed to $.requireS cript , and now you can specify several URLs at once.Source: https://habr.com/ru/post/60090/
All Articles