언어&플랫폼/Html/JQuery 2013. 10. 17. 16:31
var s = document.createElement("script");
s.type = "text/javascript";
s.src = "http://somedomain.com/somescript";
$("head").append(s);

http://stackoverflow.com/questions/9413737/how-to-append-script-script-in-javascript

'언어&플랫폼 > Html/JQuery' 카테고리의 다른 글

[css] body 100% height  (0) 2013.10.18
[jquery] html 조작  (0) 2013.10.17
[jquery] check box  (0) 2013.10.16
jquery 모든 문자 변경  (0) 2013.10.16
[javascript] parseint resturn NaN  (0) 2013.10.16
posted by cozyboy
: