<asp:Panel ID="Panel1" runat="server" Height="200px" ScrollBars="Auto" Width="100%" >
我用的
var panel=document.getElementById("<%=Panel1.ClientID%>");
alert(panel.Height);var panel=document.getElementById("Panel1");
alert(panel.Height);
显示的结果都是undefined,应该怎么获取啊?
我用的
var panel=document.getElementById("<%=Panel1.ClientID%>");
alert(panel.Height);var panel=document.getElementById("Panel1");
alert(panel.Height);
显示的结果都是undefined,应该怎么获取啊?
解决方案 »
- 急求 asp.net 分页问题 ,100分
- 请教关于处理session的办法
- datagrid的“删除”“选择”重新绑定问题
- 在本机Console Application调用excel没问题,然后便做dll,在web上调用这个dll,就抱错
- 取得DataGrid里面值得问题~~~~~
- Microsoft Visual Studio
- 100分简单问题马上给分(投票问题)
- 在html页面中如何将数据传送给asp.net页面呢?
- ASP.NET和ASP到底有什么区别?麻烦介绍一些关于ASP.NET的电子教程
- 为什么不能用中文名ASP文件,求解决方法?
- 请教一个论坛嵌套回复的问题
- 关于css样式的求教
或alert(panel.offsetHeight);
alert(panel);