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