I was trying to access < script type='text/javascript' ....>< / script > existing within Head tag.
What I was doing to achieve that,
foreach (Control ctrl in Header.Controls)
{
Response.Write(ctrl.GetType() + "<br/>");
}
It gives me the reference of "title", "meta" and "literal" control. How can I get the control and get the "src" attribute of that tag.
Does your <script> tag have runat="server"?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With