NameSilo

[Resolved] Javascript loading

Spaceship Spaceship
Watch

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 :(
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back