how to set html label value in jquery

JavaScript
$('#lblName').text('New Text');
Source

Also in JavaScript: