select 2 plugin code example Example: select2 documentation $('.js-example-basic-single').select2({ placeholder: 'Select an option' });