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.
<script src="" type="text/javascript"></script>

Open in new window

I would like to be able to delay that by say 10 seconds from running. Does anyone have any suggestions? Thanks!
Who is Participating?
leakim971Connect With a Mentor PluritechnicianCommented:
setTimeout('loadit();', 10000);
function loadit() {
  s = document.createElement('script');
MikeC7Author Commented:
Works like a charm..and you posted this from a mobile app. You rule!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.