$(function(){ $('.ui.dropdown').each(function(){ $(this).dropdown({"placeholder": $(this).attr("placeholder")}); }); });