Grow your CSS skills. Land your dream job.

Bootstrap datepicker & tabindex

  • # February 25, 2013 at 6:22 pm

    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?

    # February 26, 2013 at 5:25 am

    Could you provide us with a link?

    http://css-tricks.com/how-to-ask-a-good-question-in-the-forums/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".