append a script tag jquery code example
Example 1: jquery append html
$("p").append(" <b>You can write your Text Here </b>.");
Example 2: append scripts using jquery
var s = document.createElement("script");
s.type = "text/javascript";
s.src = "http://somedomain.com/somescript";
$("head").append(s);