How can I add a header to the right statement/answer for a max diff? Currently, I can only do it for the left answer using this:
jQuery("#"+this.questionId+" td.c1:first").html("Statement A");
jQuery("#"+this.questionId+" td.AnswerLeft").html("Statement B");
I can't figure out how to do the same for the right side and the text has to be in line with the column headers
Use the below code,
jQuery('tbody tr:eq(0)').find('td:last-child').after('
Thanks!! However, the new label isn't aligned with statement B. Instead, it looks like it's part of a new empty column.
For now I have just included the labels as part of the question text but this is also not an ideal layout
For a bipolar matrix:
jQuery("#"+this.questionId+" tr.ColumnLabelHeader").append("
TomG Thanks for your help!
It looks like it did work but it'd also adding text to the radio buttons. Is there a way to hide these?
It looks like it did work but it'd also adding text to the radio buttons.
That text must be from something else you've done.
Try to add one more td before the actual statement, like this,
jQuery('tbody tr:eq(0)').find('td:last-child').after('
SurajK this last one worked!! thanks
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.