in jquery, how to select current element's first child?
$(this) //this refer 开发者_开发问答to the elem
how to get the first child of 'this'?$(this).children().eq(0)
or
$(this).children(':first')
or
$(this).children(':eq(0)')
or simply without jQuery:
this.firstChild
精彩评论