我知道我可以使用$('img',this)来选择$(this)中的所有img元素.
在我目前的情况下,我试图只操纵$(this)的DIRECT子图像.
有没有选择器?
Mic*_*hal 11
$(this).children('img');
Run Code Online (Sandbox Code Playgroud)
另见:http://api.jquery.com/children/
归档时间: |
|
查看次数: |
14596 次 |
最近记录: |