Originally Posted by Airblader
In my app users need to enter a number defining for how many points they want to play. A slider is a nice way to do this, but always has a maximum value – so what if the user wants to enter a number higher than that? Setting an extremely high max value will make it very hard to set the slider exactly.
best practice is to use sliders to adjust a number in a plain textbox, much like the input's list attrib suggests defaults.
this ensures that the value can be set (to any number) even if the slider cannot render for some reason (old browser, no js, etc).
I'm not saying there's anything wrong with the script, but it should be used alongside even a small <input> that has the final say on what value is used.