Appending javascript code piece to end of the body tag

Posted by uzay95 on Stack Overflow See other posts from Stack Overflow or by uzay95
Published on 2010-04-04T10:18:54Z Indexed on 2010/04/04 10:33 UTC
Read the original article Hit count: 217

Filed under:
|

I am looking for a way to insert javascript code block to end of ASP.NET page.

Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "showVideo", sScript, true);

is appending to body but js codes are always requesting some js files didn't load or some functions are below of the script.

How can i append scripts that i generated dynamically to the bottom of body?

Thanks for your help.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript