I have a slider with a label on each end. Is it possible to have the value of the slider to be the text/label?
<input id="slider" type="range" class="slider" min="1" max="100"/>
I know it could be done this way:
if(value less than certain amount)
variable = "bad";
But this would mean I would have multiple statements of this. Is there an easier way of doing this?