You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a slider with the original value and and below it to the original value I want to show a value that is based on the original value.
So for example: USD 63,000 - EUR 56,000
Whenever the user changes the slider value, I want to return the two values from the translate function, the second value wrapped in a div with a class so I can position it below the original value.
Yet, since the translate function only adds text and not html to the label, it will display it all as a string, including the
.
solution
at line 617 of rzslider.js, change label.text(valStr);
to label.html(valStr);
The text was updated successfully, but these errors were encountered:
I have a slider with the original value and and below it to the original value I want to show a value that is based on the original value.
So for example: USD 63,000 - EUR 56,000
Whenever the user changes the slider value, I want to return the two values from the translate function, the second value wrapped in a div with a class so I can position it below the original value.
Yet, since the translate function only adds text and not html to the label, it will display it all as a string, including the
.solution
at line 617 of rzslider.js, change
label.text(valStr);
to
label.html(valStr);
The text was updated successfully, but these errors were encountered: