I'm sure the solution is simple, but I can't figure it out :( I need to combine two jquery selectors into one selector:
$(this) + $('input[type=text]:first')
$ (this) is, for example, div #, so the result should be:
$('div#selected input[type=text]:first').focus();
How to make?
jquery css-selectors
Bruno
source share