Change to `$('#expandDisplayName').text($('#displayName').val());`