jq获取table总行数

var rows = $('table').find("tr").length;
原文地址:https://www.cnblogs.com/xiaobiaomei/p/9064383.html