/**
*
* 根据条件,控制行隐藏
* @param o
*/
function hideRowFile(o){
if(o=='0' || o==''){
$($('.excelMainTable.tablefixed').children('tbody').children('tr')[15]).show();
$($('.excelMainTable.tablefixed').children('tbody').children('tr')[16]).show();
}else{
$($('.excelMainTable.tablefixed').children('tbody').children('tr')[15]).hide();
$($('.excelMainTable.tablefixed').children('tbody').children('tr')[16]).hide();
}
}
本文介绍了一个JavaScript函数,用于根据特定条件在表格中显示或隐藏指定行。当参数为'0'或空时,函数会显示第15和16行;否则,这两行将被隐藏。
8881

被折叠的 条评论
为什么被折叠?



