/ Published in: C#
This adds the tag and its innards to the head of an asp.net document. Can be any tag but this one adds the global.js to the head.
Expand |
Embed | Plain Text
si.TagName = "script"; si.Attributes.Add("type", "text/javascript"); si.Attributes.Add("language", "JavaScript"); si.Attributes.Add("src", ResolveClientUrl("~/scripts/global.js"));
You need to login to post a comment.
