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