2011年10月18日 星期二

抓取一個div裡的第3張img 以及 取得eq有幾個數量

$(".post-body p img:eq(2)").attr("width");
$(".post-body p img").length

沒有留言:

張貼留言