TestProject Forum

General => General Questions => Topic started by: spadekevin on June 29, 2018, 09:40:30 am

Title: Avoid loading jquery ui multiple times
Post by: spadekevin on June 29, 2018, 09:40:30 am
Hi,

I’m stuck with this issue:
I want to load the same jquery ui script from inside a couple of plugins. The problem is I’d prefer to avoid loading it multiple times in the same page when both plugins are active.
Is there an easy way to load the script only if it is not already loaded? Any help appeciated.

Please help.

I didn't find the right solution from the Internet.

References:-
https://forum.textpattern.io/viewtopic.php?id=35461
Sales Management Software Example (https://blog.advids.co/20-sales-management-software-and-tool-video-examples/)

Thanks!