hey all so I have a few select option, after I select my first dropdown option it goes inside the event listener. However the focus is not changing. Much help would be appreciated thanks.
<select id = "test1" required tabindex="1"></select>
<select id = "test2" required tabindex="2"></select>
$('#test1').select2({ });
$('#test2').select2({ });
$('select').on('select2:select', function () {
$(this).next('select').focus();
// Do something
console.log('user selected');
});
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment