暗藏table中TR的方法

隐藏table中TR的方法

1、定义表格的行(TR)如下:

<tr id='combineTrId_${index}' style= 'display:online'>

 

2、JS中做如下操作:

document.getElementById('combineTrId_'+index).style.display = "none";

 

及可实现行的隐藏。