I am using a Bootstrap datepicker in a form with tabindexs set and after selecting a date, the tabindex goes back to the field with the tabindex of 1 instead of moving to the next field.
I'm not sure what is going on here. I added the following Javascript to the input field to try and put the focus on the next field after the input value changed, but that didn't work.
Hello!
I am using a Bootstrap datepicker in a form with tabindexs set and after selecting a date, the tabindex goes back to the field with the tabindex of 1 instead of moving to the next field.
I'm not sure what is going on here. I added the following Javascript to the input field to try and put the focus on the next field after the input value changed, but that didn't work.
onchange="document.getElementById('startDate').focus()"
Any ideas?
Could you provide us with a link?
http://css-tricks.com/how-to-ask-a-good-question-in-the-forums/