jQuery 對象中元素的個數(shù)。
當前匹配的元素個數(shù)。與length 將返回相同的值。
計算文檔中所有圖片數(shù)量
<img src="test1.jpg"/> <img src="test2.jpg"/>
$("img").size();
2