jquery - Use external multi modal JavaScript -


i utilize external multi modal github script in meteor run bootstrap modals taken meteor bootstrap package have installed on app. there no meteor package this. i'm using $.getscript() jquery function source js file. set such:

meteor.startup( function () {     $.getscript("https://cdn.rawgit.com/ngzhian/multi-step-modal/master/multi-step-modal.js"); }); 

unfortunately when include this, file url gets loaded modal functionality doesn't work. believe html correct. there alternative way include third party libraries? library possibly broken?

meteor.startup( function ()  {     $.getscript("https://cdn.rawgit.com/ngzhian/multi-step-modal/master/multi-step-modal.js",function()     {         // here script loaded , can use it's functions     }); }); 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -