jQuery 對像中元素的個數。
這個函式的返回值與 jQuery 對象的 size() 屬性一致。
計算文件中所有圖片數量
<img src="test1.jpg"/> <img src="test2.jpg"/>
$("img").length;
2