var rows = $(‘table‘).find("tr").length;
jq获取table总行数
原文:https://www.cnblogs.com/xiaobiaomei/p/9064383.html