Cara menginisialisasi select2 secara dinamis

$('.yourSelectClass').select2();
Beautiful Buzzard