0

I need HTML 5 slider with three text value instead of integer. for example one I need following three value in slider.

likely unlikely very likely

<input type="range" min="1" max="100" value="50" class="slider" id="myRange">
0

1 Answer 1

2

This would give you the HTML input you want: <input type="range" min="1" max="3" value"1" class="slider" id="myRange">

From there you could put text above/below it for display purposes. You'd simply save the integer as a value, or change it to text server-side.

Sign up to request clarification or add additional context in comments.

1 Comment

Glad I could help! If you wouldn't mind, could you please select this as the accepted answer? Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.