Add a <div> after the <body> html tag
Posted on 2014-04-24
I need to get the body tag and add a div right after it. I cannot use Jquery.doc to do this because I need to do this before the page is rendered. I have tried to do this in page_load and page_pre_render. The code is here. I know the first line is wrong.
Dim ctrl As Control = Me.FindControl("body")
Dim ctrlDiv As HtmlControl = New HtmlGenericControl("div")