Hi, I have a slider question in my survey where I want the respondent to estimate a threat with a .. % change of .... What is initially shown (without JavaScript) on the slider is just numbers from 0 to 100. To add % to the numbers, I checked out the community. I got some codes, but neither of them work in the right way.
If I use this code:
jQuery("#"+this.questionId+" .numbers li").each(function(){
jQuery(this).text((jQuery(this).text()+"%").trim().replace(" ",""));
});
I get two times the % symbol (0%%). How can I delete one? Or am I using the code in the wrong way?
Solved
Question about percentages in slider
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.