Mission: To get the values of two fields and a select and concatenate them together and put them in a third field. $(document).ready(function(){ $("input,select").blur( function () { concatFields() } ); }); function concatFields() { var concat; concat = $("#first,#last,#eyecolor option:selected").map(function(){ return $(this).val(); }).get().join(", "); $("#destination").attr("value",concat); }

Put them in here: