Nick_Mayhem
Jul 7th 2008, 11:24 pm
Hello :)
I have a scenario where the Javascript libarary is loaded from an external source.
But if the code is repeated on the page. Then it loads the libraries more then once.
Can someone help me with some javascript code that will only allow the libraries to be loaded once.
It could be something like it can check if it is loaded and if it is loaded then it should not load it again.
But I don't know how to implement that.
Thanks.
I have a scenario where the Javascript libarary is loaded from an external source.
But if the code is repeated on the page. Then it loads the libraries more then once.
Can someone help me with some javascript code that will only allow the libraries to be loaded once.
It could be something like it can check if it is loaded and if it is loaded then it should not load it again.
But I don't know how to implement that.
Thanks.