I am working on asp.net mvc. I have a javascript variable like,
var note="<strong><em><span style='color:#ed1c24;'>Hai</span></em><span style='color:#ed1c24;'>Welcome</span></strong> ";
I need to display as a html with in the label so i tried it like,
$('#lblNote').html(note);
but it doesnt render the html content and it shows the html tags as it is like,
<label id="lblNote"><strong><em><span style=""color:#ed1c24;"">
Hai</span></em><span style=""color:#ed1c24;"">
Welcome</span></strong> </label>
please guide me.