$(document).on({
change : function() {
var getBuffer = $('#get').val();
$('#get').val(getBuffer + ", " + $(this).val());
}
}, "#give");
$(document).ready(function() {
str_start = $('#myOutputText').val();
$('#myInputText').keyup(function() {
var words=$('#myInputText').val().split(',');
$('#myOutputText').val(str_start+", "+words.join(', '));
if (words == "") { $('#myOutputText').val(str_start);}
});
});