Can i load a JS Library into my project through HTML/JS Snippet ?

How can i load a JS Library through HTML/JS Snippet widget ? I have tried to do so by this way : $("body").append("<script src="someCDN_URL.min.js"></script>" ); So it adds the script's tag element into the body and everything looks fine but when i try to use my JS code which is using this library and function inside it, it says that the function that i'm trying to use on a specific element "is not a function". This means the library is there in the body but it doesnt work. So what is the correct way to use other libraries beside JQuery in my project ?
0 answers