' + state.text + '' ); return $state; } $("#selCurrency").select2({ templateResult: formatState, templateSelection: formatState, dropdownCssClass: "header-top-dropdown" }); $('#communication_chanel').select2({ templateResult: formatState, templateSelection: formatState, dropdownCssClass: "communication-dropdown" }); --> US