jquery set label value code example
Example 1: change label value jquery
$("#labelName").text($value);
$("#labelName").text('<font class="red"> * </font> label');
var html_options = "<option value=''>" + $('#eform_id').find("option").first().text() + "</option>";
$('#eform_id').html(html_options);
$('#eform_id').selectpicker('refresh');
Example 2: set label text in jquery
$("#labelName").text($value);
Example 3: how to set html label value in jquery
$('#lblName').text('New Text');
Example 4: change label value jquery
$("#labelName").text($val);
var html_options = "<option value=''>" + $('#eform_id').find("option").first().text() + "</option>";
$('#eform_id').html(html_options);
$('#eform_id').selectpicker('refresh');