$(document).ready(function(){ $("#brselect").change(function () { var $str = ""; $("#brselect option:selected").each(function () { $str += $(this).text() + " "; }); $("#txtpastebr").val($str); }) .change(); });