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
  • 245,468
  • 26
  • 309
  • 415
Nad
  • 4,605
  • 11
  • 71
  • 160

0 Answers0