How can I Update the Javascript so the Results are Bolded | XM Community
Solved

How can I Update the Javascript so the Results are Bolded

  • 23 February 2021
  • 2 replies
  • 82 views

Userlevel 1
Badge +3

Hi,
What changes need to made to the following Javascript so that the results will be bolded.
jQuery("#"+this.questionId+" td.c1:first").html("Label Text");
Thank you

icon

Best answer by ChiragK 24 February 2021, 05:58

View original

2 replies

Badge +8

Not really sure what you're trying to do but based on your code to bold column text, here's the code.
jQuery("#"+this.questionId+" td.c1:first").html("Label Text").css("font-weight", "bold");

Userlevel 1
Badge +3

Hi ChiragK,
Nothing to hid. I want to add a header to a matrix question left hand side. TomG provided the Javascript code to do this but I thought it should be bolded to be more visible.
Your upgrade worked. Thanks very much.

Leave a Reply