Focusing on the selection field (with selection turned on) does not focus on the selected input field:
$('.someclass select').focus();
Focusing on choosing your own inout window doesn't work either:
$('.someclass input').focus();
Selectize docs mentions focus
, but that doesn't work either. See jsfiddle :
var selectized = $('#selectize').selectize(); selectized.focus();
I would expect a carat |
will be ready and typing to immediately enter the box.
How can I focus on the select select box from JavaScript so the user can enter it?
source share