求一个自动伸缩的列表控件 需要一个像网易那样的附件添加列表,有数据的时候显示出来,无数据的时候数据列表隐藏,有一条数据就只显示一条数据列表的高度 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 var parent=document.getElementById("parent");var child=document.createElement("div");parent.appendChild(child);parent.removeChild(child);大体思路这样 在页面最下方,body以里放入 <script type="text/javascript"> function reinitIframe() { var iframe = document.getElementById("iframeID"); try { iframe.height = iframe.contentWindow.document.documentElement.scrollHeight; } catch (ex) { } } window.setInterval("reinitIframe()", 200);</script> 给个自定义的下拉列表框代码吧--------------------------------? 关于显示日期问题 简单 表格排序 编辑 拖拽 缩放 dijit.form.textbox 全选 请问在动态增加的行里面怎么设置点中这行后变颜色? 新手求助:50分求解框架页之间如何得到单元格的宽度 NetScape浏览器问题 怎样在客户端判断用户不能输入空格????????? 请教下JS定时弹出的特效怎么写? submit表单提交 Dreamweaver自带的FLVPlayer_Progressive.swf如何控制flv循环播放 谁使用过uglifyjs压缩js
var child=document.createElement("div");
parent.appendChild(child);
parent.removeChild(child);
大体思路这样
function reinitIframe() {
var iframe = document.getElementById("iframeID");
try {
iframe.height = iframe.contentWindow.document.documentElement.scrollHeight;
}
catch (ex) { }
}
window.setInterval("reinitIframe()", 200);
</script>