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
Post a Comment