Hide 'total' using javascript. | XM Community
Skip to main content
Solved

Hide 'total' using javascript.

  • May 18, 2023
  • 1 reply
  • 78 views

Forum|alt.badge.img+2

I want to hide the total row from the question. I know we have an option to untick the ‘add total box’. However, because of my custom theme, it is not aligning. So I want to hide this using Javascript.

 

 

Best answer by Shashi

Try the below script:

	jQuery("#"+this.questionId+" li.Total").hide();

 

1 reply

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • Answer
  • May 18, 2023

Try the below script:

	jQuery("#"+this.questionId+" li.Total").hide();