Linked Questions
23 questions linked to/from How to include multiple js files using jQuery $.getScript() method
1
vote
3
answers
4k
views
Import multiple files using jQuery.getScript [duplicate]
Possible Duplicate:
How to include multiple js files using jQuery $.getScript() method
I need to import multiple files within a .js file, I'm looking at the getScript jQuery method :
http://api....
-2
votes
2
answers
1k
views
Load files and then call a call back function [duplicate]
In my project, I am loading some js and css files by default in index.html file. But I need to load some other js/css files using javascript later (dynamically) and then after those dynamic files are ...
71
votes
18
answers
80k
views
Dynamically loading JavaScript synchronously
I'm using the module pattern, one of the things I want to do is dynamically include an external JavaScript file, execute the file, and then use the functions/variables in the file in the return { } of ...
32
votes
8
answers
77k
views
Delay script loading
So if I have the following:
<script type="text/javascript" src="offsite file I am referencing"></script>
and I simply want to delay the execution of calling that file using settimeout, ...
24
votes
8
answers
35k
views
Using getScript synchronously
I'm writing an engine that requires the use of getScript quite extensively. I've pushed it into its own function, for ease of use, but now I need to make sure that the function itself is synchronous. ...
8
votes
1
answer
11k
views
BlueImp silently fails on file upload
When i try to upload using blueImp, i get the fllowing error when I open up the console:
Uncaught TypeError: Cannot read property 'parseMetaData' of undefined
accompanied by a stack trace. It seems I ...
1
vote
1
answer
3k
views
Load BingMaps API on runtime
I am trying to load the Bing Maps API during runtime of my JavaScript file. Here is what i have got so far, based on this.
var bingmap_link = 'https://www.bing.com/api/maps/mapcontrol?callback=...
0
votes
4
answers
4k
views
jQuery getScript not working, or I'm using it wrong
I'm having trouble getting jquery's $.getScript to work. Here's a test file, demo.html:
<!DOCTYPE html>
<script src="/xyz/scripts/jquery-1.11.0.min.js"></script>
<script>
...
3
votes
2
answers
2k
views
Code for letting the page load before loading javascript not working
I have five external JavaScript files that are making the page wait to load before these files are finished loading.
I've been reading a lot about removing render-blocking javascript and it seems ...
3
votes
1
answer
578
views
How can I know when Ajax calls are finished with getScript?
I am using jQuery getScript to load X amount of js files into my page. Each of those JS pages has an AJAX call in it that fetches data from the database.
I am using the .done method on getScript to ...
SBB's user avatar
- 9,060
2
votes
4
answers
630
views
Create an includes file jQuery
Question/Problem:
I have several js files (~15) with some functions. To not have to include them all one by one in the html page, I want to create an include file (like in php with include(), require()...
0
votes
1
answer
712
views
getScript function working but doesn't get some of the css
So every time I am loading my getScript function on ajax success some of the js are working some of it are not. but if i'm loading trying to load it on my footer.php it's working. but I need to load ...
2
votes
0
answers
841
views
Synchronous XMLHttpRequest on the main thread is deprecated issue in ASP.NET MVC & Page.js
In order to make our application SPA, we have used a third party library Page.js along with ASP.NET MVC.
Page.js Reference: https://visionmedia.github.io/page.js/
We perform basically two tasks by ...
1
vote
1
answer
470
views
jQuery getScript() not resolving
I am using jQuery's getScript() to load separate javascript files. The files seem to load fine (I know this as when I put an incorrect URL, it throws an error - no error with the correct URL).
...
1
vote
3
answers
405
views
How to Dynamically Load Internal Scripts In Order With Javascript
I have several scripts I need to dynamically include in a specific order. I have looked at and tried several answers here: How to include multiple js files using jQuery $.getScript() method
My ...