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="width:100px;"
                        class="easyui-textbox"/></td>
                </tr>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM