add scripts in jquery html function code example
Example: how add script to html in jquery
$.getScript("test.js", function(){
alert("Running test.js");
});
$.getScript("test.js", function(){
alert("Running test.js");
});