showing results for - "javascript check if script is loaded"
Michela
10 Oct 2017
1if (typeof window.myCustomFlag == 'undefined') {
2    //the flag was not found, so the code has not run
3    $.getScript('<external JS>');
4}