<select class="form-control dropup bs-select-hidden" name="sys_nivel_acesso_id">
</select>
<div class="btn-group bootstrap-select form-control dropup">
<button class="btn dropdown-toggle btn-default" data-toggle="dropdown" type="button" title="-----">
</div>
Hello, I would like a help to select via jQuery the element button
from the element select
of name sys_nivel_acesso_id
with the intention of giving focus.
I've tried:
-
$('select[name="sys_nivel_acesso_id"]').next('div button').focus()
-
$('select[name="sys_nivel_acesso_id"]').next('div').next('button').focus()
But it did not work.