li的第一个元素

获取li的第一个元素。

var First=($(".slider li:eq(0) a img").attr("src"));

原文地址:https://www.cnblogs.com/wqing/p/2856683.html