$(document).ready(function() { $("p").size(); }); 转载于:https://www.cnblogs.com/GeorgeWang/archive/2011/02/20/1958977.html