1 以包装集形式写法
var imgElement=$('img[alt]')[0]
2 以get方法写法
var imgElement=$('img[alt]').get(0);
posted on 2014-12-20 17:38 火柴哥 阅读(146) 评论(0) 收藏 举报