src/jquery-tokeninput/jquery-tokeninput.js
function select_dropdown_item (item) {
          if(item) {
              if(selected_dropdown_item) {
                  deselect_dropdown_item($(selected_dropdown_item));
              }

              item.addClass($(input).data("settings").classes.selectedDropdownItem);
              selected_dropdown_item = item.get(0);
          }
      }
function select_dropdown_item (item) {
          if(item) {
              if(selected_dropdown_item) {
                  deselect_dropdown_item($(selected_dropdown_item));
              }

              item.addClass($(input).data("settings").classes.selectedDropdownItem);
              selected_dropdown_item = item.get(0);
          }
      }
function select_dropdown_item ( item ) { if ( item ) { if ( selected_dropdown_item ) { deselect_dropdown_item ( $ ( selected_dropdown_item ) ) ; } item . addClass ( $ ( input ) . data ( "settings" ) . classes . selectedDropdownItem ) ; selected_dropdown_item = item . get ( 0 ) ; } }
Highlight an item in the results dropdown
Highlight an item in the results dropdown