append script to html with jquery

Subject:

var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.src = url; $("#someElement").append( script );

2015-12-06 11:12:16gstlouis