Insert elements at <script> tag position

Posted by Nick Spacek on Stack Overflow See other posts from Stack Overflow or by Nick Spacek
Published on 2010-05-07T15:14:00Z Indexed on 2010/05/07 15:18 UTC
Read the original article Hit count: 218

Filed under:
|
|

Hi folks,

When sites give you some JavaScript that you paste into a web page to have content inserted at that position, how does the script determine its current position in the DOM? Without using document.write?

Thanks,

Nick

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about embed