,如何选择当前元素的第一个孩子?
答
$(this).children().eq(0)
或
$(this).children(':first')
或
$(this).children(':eq(0)')
或简单地不jQuery的:
this.firstChild