1

I have a span in which I show some text, I want to make that bold. So I tried it like below

$('#spnApprRejInfo').text(response.d + " for " + "<b>" + spspnaname + "</b>");

and the span is below

<span id="spnApprRejInfo"></span>

but it is not making it bold. How should I do it ??

Temani Afif
  • 211,628
  • 17
  • 234
  • 311
Nad
  • 4,507
  • 10
  • 58
  • 143

0 Answers0