zoukankan      html  css  js  c++  java
  • js隐藏表格的一行数据

    1.方法

    document.getElementById('customerAccount_tr').style.display="";//缴纳人名称显示
    
    document.getElementById('customerAccount_tr').style.display="none";//缴纳人名称显示    

    document.getElementById('customerAccount_tr').style.display="block";//缴纳人名称显示   (这种方法有时候会影响格式) 
     

    2.HTML

    <tr id="customerAccount_tr">
                        <th>缴纳人名称:</th>
                        <td><input  type="text" id ="customerAccount" name="customerAccount"  style="100px;"
                            class="easyui-textbox"/></td>
                    </tr>
  • 相关阅读:
    Ajax
    Linux安装SmartSVN及破解
    JQuery异步提交
    动画效果
    事件
    表单选择器
    DOM操作
    JQuery基础
    PHP环境配置
    DP--钢条切割
  • 原文地址:https://www.cnblogs.com/mr-wuxiansheng/p/6379453.html
Copyright © 2011-2022 走看看