jQuery this用法详解

jQuery("img", this);
Which is the same as

jQuery(this).find("img");
If the imgs are direct descendants of the clicked element, you can also use:

jQuery(this).children("img");


$(this).find('img');

$(this).children("img:first")


$(this).next();

$("#"+$(this).attr("id")+" img:first")

你可能感兴趣的:(jquery,this,first)