jQuery: Can't append <script> element

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2009-03-04T15:11:46Z Indexed on 2010/04/09 0:53 UTC
Read the original article Hit count: 296

Filed under:
|

Any idea why the piece of code below is not working?

var code = "<script></script>";
$("#someElement").append(code);

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery