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