JQuery: combine two jq selectors
Posted
by Bruno
on Stack Overflow
See other posts from Stack Overflow
or by Bruno
Published on 2010-05-24T12:27:48Z
Indexed on
2010/05/24
12:31 UTC
Read the original article
Hit count: 316
Hi there.
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')
$(this) is e.g div#selected so the result should be:
$('div#selected input[type=text]:first').focus();
How to do?
© Stack Overflow or respective owner