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