JQuery: find child elements from an existing selector

后端 未结 4 617
终归单人心
终归单人心 2020-12-06 19:09

Im sure the solution is simple but I cant figure it out :( I need to combine two jquery selectors in one selector:

$(this) + $(\'input[type=text]:first\')
         


        
4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-06 20:11

    $(this).children('#inpouter[type=test]:first').focus();
    

    Should do the trick...

提交回复
热议问题