' + state.text + '' ); } $("#selCurrency").select2({ templateResult: formatState, templateSelection: formatState }); $("#selCurrency").css({ 'opacity' : '1' });