Auto include javascript file if not already included
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-05-21T09:36:47Z
Indexed on
2010/05/21
9:40 UTC
Read the original article
Hit count: 131
I have an external javascript file that relies on the presence of another file.
How can I, using JavaScript (or jQuery) automatically include this file if it is not already included (I can test based on the presence of a known function in this external file)
THanks
© Stack Overflow or respective owner