Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change label value jquery


// change label value
$("#labelName").text($value);

// display label html
$("#labelName").text('<font class="red"> * </font> label');
// reset combobox value
var html_options = "<option value=''>" + $('#eform_id').find("option").first().text() + "</option>";
$('#eform_id').html(html_options);
$('#eform_id').selectpicker('refresh');

 
PREVIOUS NEXT
Tagged: #change #label #jquery
ADD COMMENT
Topic
Name
7+7 =