Is there a way we can have a slider(range input) in an alert box

Is it possible to have a range slider in an alert or confirm or prompt … Read more Is there a way we can have a slider(range input) in an alert box

Is it possible to have a range slider in an alert or confirm or prompt box?
And if it is possible; would it also be possible to style that slider or the alert box?
IDK if using an external JS library be helpful?
I don’t have any code but here is a short snippet that I tried using.

alert('<input type="range" min="0" max="100" value="0">Rest of the message...');

Source: JavaSript – Stack Overflow


Categories: NewsTags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *