Showing posts with label dynamic javascript. Show all posts
Showing posts with label dynamic javascript. Show all posts

Tuesday, 22 July 2014

Load javascript file dynamically using jquery with callback

Que: How to load javascript file dynamically using jquery?

Ans: jQuery.getScript("/xyz/abc/your.js", function(){
initialize(); // this function will call after loading of your.js
});