MikeC7
asked on
How Can I Delay Loading an External Javascript?
Hi everyone, I have an external .js file that I need to load on a website. I have no control over the file itself, just the ability to call it into a webpage.
I am currently using the following code.
I would like to be able to delay that by say 10 seconds from running. Does anyone have any suggestions? Thanks!
I am currently using the following code.
<script src="http://externalsite.com/file.js" type="text/javascript"></script>
I would like to be able to delay that by say 10 seconds from running. Does anyone have any suggestions? Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER