How do i hide an html img from a code behind file in VB.NET? The img tag doesnt have a runat attribute and hence not a server control. I tried
Dim cs As ClientScriptManager = Page.ClientScript
cs.RegisterStartupScript(Me.GetType(), "alert", "alert('test')")
in the Page_Load(). But doest work. I want to access the id using javascript (document.getElementbyId('idofimg').style.visibility = 'hidden')