页面刷新时,如何通过js使控件不可见? onload=""and use other event to make it visible 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <body MS_POSITIONING="GridLayout" onload="init()"> <script language="javascript"> function init() { var l1=document.getElementById("ListSN"); l1.style.display="none"; } </script> <form id="Form1" method="post" runat="server"> <FONT face="宋体"> <asp:TextBox id="txtEquipName" style="Z-INDEX: 101; LEFT: 288px; POSITION: absolute; TOP: 96px" runat="server"></asp:TextBox> <asp:Button id="Button1" style="Z-INDEX: 103; LEFT: 72px; POSITION: absolute; TOP: 256px" runat="server" Text="Button"></asp:Button> <asp:ListBox id="ListSN" style="Z-INDEX: 102; LEFT: 288px; POSITION: absolute; TOP: 128px" runat="server" Width="144px" Height="88px" Visible="False"></asp:ListBox> <asp:Label id="Label1" style="Z-INDEX: 104; LEFT: 320px; POSITION: absolute; TOP: 280px" runat="server" Height="32px" Width="112px">Label</asp:Label></FONT></form> </body>是这样吗?但每次ListSN还是会出现啊? HTML如何调用C#开发的类库 jquery 问题 急。。。急 求仿csdn右下角推荐代码 js相册 随机特效 失效 高分求 一段带cookie的js弹出广告代码!(解决了高分回报) JS 随机显示问题 stedy.com中站点问题 下拉列表 盖住 下拉菜单 (菜单是一个层,设Z-index都等于10000了,还不行)??? 怎么得到document.referrer的值 求教,获取标签文本内容问题 当鼠标点击单元格(td)时,单元格内的字体变色? 请教 :在html 中动态添加iframe ,在iframe网页中放一个图片,点击图片,iframe消失,搞了N天,搞不出来,脑子不行
<script language="javascript">
function init()
{
var l1=document.getElementById("ListSN");
l1.style.display="none";
}
</script>
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<asp:TextBox id="txtEquipName" style="Z-INDEX: 101; LEFT: 288px; POSITION: absolute; TOP: 96px"
runat="server"></asp:TextBox>
<asp:Button id="Button1" style="Z-INDEX: 103; LEFT: 72px; POSITION: absolute; TOP: 256px" runat="server"
Text="Button"></asp:Button>
<asp:ListBox id="ListSN" style="Z-INDEX: 102; LEFT: 288px; POSITION: absolute; TOP: 128px" runat="server"
Width="144px" Height="88px" Visible="False"></asp:ListBox>
<asp:Label id="Label1" style="Z-INDEX: 104; LEFT: 320px; POSITION: absolute; TOP: 280px" runat="server"
Height="32px" Width="112px">Label</asp:Label></FONT></form>
</body>
是这样吗?但每次ListSN还是会出现啊?