Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Bootstrap datepicker & tabindex

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42970
    ChristineN
    Member

    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?

    #126109
    Paulie_D
    Member
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.