后台
sucess.Style["display"] = "none";
check.Style["display"] = "bolck";
ClientScript.RegisterStartupScript(ClientScript.GetType(), "myscriptm", "<script>tdbackground();</script>");
前台
<div id="check" style="display:none" runat="server">
<form action="Default.aspx" method="post">
<span id="text_y"><input name="name" type="text" class="right_form_text" id="name" style="border:0px;"size="12"></span><br><br>
<span id="text_h"><input name="password" type="password" class="right_form_text" id="password" size="12" style="border:0px;"></span><br><br><br>
<input type="image" value="提交" src="images/denglu.jpg" class="right_form"> <a href="registration.php"><img src="images/chongzhi.jpg" class="right_form"/></a>
</form>
</div>
<div id="sucess" style="display:none" runat="server">
<span class="denglu_s">test - 欢迎您<br>
<a href="logout.php">退出登录</a></span>
</div>