append js jquery code example
Example 1: jquery append
$("p").append(" <b>Appended text</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);