如果div没有runat="server",就用js方法 div.style.display='none' //隐藏div.style.display='' //显示如果div加上了runat="server",就在后台控制,div.visible=true;div.visible=false;