Keral_Patel
I'll do itRestricted (Chatroom)
- Impact
- 1,449
Javascript loading
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 am getting confused with it from many days.
Thanks.
Sorry for being thickheaded.
Found the solution
I was looking for way too much advanced one and it turned out to be.... very simple 
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 am getting confused with it from many days.
Thanks.
Sorry for being thickheaded.
Found the solution







