//页面加载完成立即执行
$(document).ready(function(){
var tables = document.getElementsByTagName("table");
for (var i = 0; i < tables.length; i++)
{
if(tables[i].rows.length==1)
tables[i].style.display = "none";
}
});
$(document).ready(function(){
var tables = document.getElementsByTagName("table");
for (var i = 0; i < tables.length; i++)
{
if(tables[i].rows.length==1)
tables[i].style.display = "none";
}
});