table的diaplay属性 加载的时候有数据就显示table
来源:互联网 发布:淘宝怎么使用微信支付 编辑:程序博客网 时间:2024/06/05 10:20
是刚跳到这个页面,有数据就显示table
加载的时候就执行这个判断<body onload="Change();">...</body>
<input name="isflag" type="checkbox" id="isflag" value="1" onclick="change();"/>是否需要继续填写
<table id="a" style="display:none" >
<tr><td align="right" valign="middle" class="Forumrow"><b>特别注意事项:</b></td>
<td align="left" class="Forumrow"><textarea name="notes" cols="80" rows="6" id="notes"><%=notes%></textarea></td></tr>
<tr>
<td align="right" valign="middle" class="Forumrow"><b>邮寄地址:</b></td>
<td align="left" class="Forumrow"><input name="address" type="text" value="<%=address%>" size="60" /></td>
</tr>
</table>
<script type="text/javascript">
function change()
{
if(document.getElementById("isflag").checked)
{
document.getElementById("a").style.display='';}
else
{
document.getElementById("a").style.display = ((document.getElementById("notes").value == "" || document.getElementById("address").value == "") ? "none" : "block");
}
</script>
- table的diaplay属性 加载的时候有数据就显示table
- div 和table呈现的时候有什么区别
- table的RULES属性
- table的border属性
- table的 rowIndex 属性
- TABLE的logging属性
- Table的title属性
- table标签的属性
- title 属性的使用 当table单元格内容过长时需要用...来代替 ,鼠标移入的时候显示全部内容
- HTML下table的加载
- Table的border-collapse属性
- table的border-collapse属性
- table-layout的fixed属性
- TABLE的logging属性(续)
- table表格的一些属性
- 表格 table 的一些属性
- <table> 标签的 rules 属性
- table表格的属性应用
- OpenCV读取AVI文件
- SQL 实现行列转换
- 关于师兄师姐的就业经验交流(二)
- 一个在EXCEL单元格中显示进度条的方法
- js 点击文本框后弹出选择日期
- table的diaplay属性 加载的时候有数据就显示table
- asmlinkage宏
- ubuntu 安装 fetion ,右键打开终端 及终端的美化, ncurses
- 横竖屏切换时候activity的生命周期 android:configChanges
- 刷新页面
- 信号量使用实例
- ORA-00959 表空间不存在
- 关于sql
- 深度剖析 Linux0.11 系统中堆栈的使用方法